[issue23545] Turn on extra warnings on GCC
Antti Haapala
report at bugs.python.org
Fri Aug 12 01:30:37 EDT 2016
Antti Haapala added the comment:
I don't think adding -Wno-type-limits is a good idea.
The good question is how that can be happening, e.g. how PY_SSIZE_T_MAX divided by sizeof anything can be *more* than max(size_t)? E.g now that I stare at the code, *that* warning should be impossible if everything is correct. It means either that the RHS is negative or size_t is defined to be 32-bit in this compilation unit whereas PY_SSIZE_T is 64-bit. Neither sound like a good idea.
----------
nosy: +ztane
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23545>
_______________________________________
More information about the Python-bugs-list
mailing list