[issue23545] Turn on extra warnings on GCC
Martin Panter
report at bugs.python.org
Fri Aug 12 01:54:28 EDT 2016
Martin Panter added the comment:
I didn’t look too closely, but I did see that _ssl_locks_count is unsigned int. I was compiling for x86-64 Linux, where int is 32 bits and size_t is 64. So maybe GCC was optimizing the (size_t) cast away, and then rightfully warning that the largest unsigned int will never exceed the largest possible array size.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23545>
_______________________________________
More information about the Python-bugs-list
mailing list