[issue34992] many warnings with f28 and gcc 8.1.1

2018-10-15 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Invalid function cast warnings with gcc 8 for METH_NOARGS ___ Python tracker

[issue34992] many warnings with f28 and gcc 8.1.1

2018-10-15 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : I use Fedora 28 and gcc (GCC) 8.1.1 20180712 (Red Hat 8.1.1-5) and I get a lot of warnings, with the standard config of Python (./configure) Objects/call.c: In function '_PyMethodDef_RawFastCallDict': Objects/call.c:515:24: warning: cast between incompatibl