[issue25878] CPython on Windows builds with /W3, not /W4
Steve Dower
report at bugs.python.org
Sat Jan 16 17:06:15 EST 2016
Steve Dower added the comment:
libmpdec/memory.c keeps pointers to customisable memory functions (malloc/free) and initialises them to &malloc and &free. These functions are dllimport'd from the CRT, and so they trigger a warning letting you know that "&malloc == &malloc" may not always be true.
(That trivial comparison should always be true, but if you indirect one of the values through a few other modules it may be an address of a different stub function that calls the real malloc, and hence the addresses may not match.)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25878>
_______________________________________
More information about the Python-bugs-list
mailing list