[New-bugs-announce] [issue33029] Invalid function cast warnings with gcc 8 for getter and setter functions

Siddhesh Poyarekar report at bugs.python.org
Thu Mar 8 10:15:02 EST 2018


New submission from Siddhesh Poyarekar <siddhesh.poyarekar at gmail.com>:

gcc 8 has added a new warning heuristic to detect invalid function casts and a stock python build seems to hit that warning quite often.  bug 33012 fixes the most trivial case of METH_NOARGS, this bug is to track a similarly trivial but widely applicable fix, which is to cast getter and setter functions.

Patches coming up over the weekend.

----------
components: Build
messages: 313443
nosy: siddhesh
priority: normal
severity: normal
status: open
title: Invalid function cast warnings with gcc 8 for getter and setter functions
type: compile error

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33029>
_______________________________________


More information about the New-bugs-announce mailing list