Hi Thomas, On Tue, 12 Oct 2021 at 00:33, Thomas Liske <li...@ibh.de> wrote: > [translation:ERROR] CompilationError: CompilationError(err=""" > data_pypy_module_cpyext.c:25256:3: warning: initialization of 'void > (*)(Signed)' {aka 'void (*)(long int)'} from incompatible pointer type > 'void (*)(int)' [-Wincompatible-pointer-types] > 25256 | set_Py_DebugFlag, /* 0.value */ > | ^~~~~~~~~~~~~~~~ > data_pypy_module_cpyext.c:25256:3: note: (near initialization for > 'pypy_g_array_25832.a.items[0].o_value')
This is a warning (which we should look into and probably show up everywhere). The log contains only one error: [platform:Error] ../module_cache/module_15.c:558:14: error: conflicting type qualifiers for 'stdout' [platform:Error] 558 | extern FILE* stdout; [platform:Error] | ^~~~~~ [platform:Error] /usr/include/stdio.h:61:20: note: previous declaration of 'stdout' was here [platform:Error] 61 | extern FILE *const stdout; [platform:Error] | ^~~~~~ Responsible for that is rpython/rlib/rfile.py, whose create_stdio() function is called on pypy3 but not on pypy2. Maybe we can add some hack to avoid entirely the "extern" above, which is not needed anyway because we #include stdio.h. A bientôt, Armin _______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev