[issue31013] gcc7 throws warning when pymem.h development header is used

STINNER Victor report at bugs.python.org
Mon Jul 24 10:25:29 EDT 2017


STINNER Victor added the comment:

> /usr/include/python2.7/pymem.h:97:30: error: '*' in boolean context, suggest '&&' instead [-Werror=int-in-bool-context]

I don't understand this error. I would be curious to see the output of the preprocessor. Try maybe to use gcc -E?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31013>
_______________________________________


More information about the Python-bugs-list mailing list