[issue1616] compiler warnings

Ezio Melotti report at bugs.python.org
Sat Mar 13 07:19:27 CET 2010


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

And this is the list for 3.x:

http://www.python.org/dev/buildbot/builders/x86%20XP-4%203.x
http://www.python.org/dev/buildbot/builders/x86%20XP-5%203.x
http://www.python.org/dev/buildbot/builders/x86%20Windows7%203.x
7>..\Modules\zlib\gzio.c(131) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
7>..\Modules\zlib\gzio.c(181) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
7>..\Modules\zlib\gzio.c(226) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
7>..\Modules\zlib\gzio.c(627) : warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
7>..\Modules\zlib\gzio.c(1001) : warning C4996: 'strerror': This function or variable may be unsafe. Consider using strerror_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
7>..\Modules\zlib\gzio.c(1008) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
7>..\Modules\zlib\gzio.c(1009) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
7>..\Modules\zlib\gzio.c(1010) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
19>..\Modules\_ctypes\libffi_msvc\ffi.c(113) : warning C4018: '>' : signed/unsigned mismatch
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library

http://www.python.org/dev/buildbot/builders/x86%20gentoo%203.x
/home/buildslave/python-trunk/3.x.norwitz-x86/build/Modules/_ssl.c:699: warning: passing arg 2 of `ASN1_item_d2i' from incompatible pointer type
/home/buildslave/python-trunk/3.x.norwitz-x86/build/Modules/_ssl.c:704: warning: passing arg 2 of pointer to function from incompatible pointer type

http://www.python.org/dev/buildbot/builders/x86%20FreeBSD%207.2%203.x
/usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Modules/_ctypes/callproc.c:1387: warning: initialization discards qualifiers from pointer target type

http://www.python.org/dev/buildbot/builders/sparc%20solaris10%20gcc%203.x
/home2/buildbot/slave/3.x.loewis-sun/build/Modules/sha1module.c:130:1: warning: "FF0" redefined
/usr/include/sys/termios.h:251:1: warning: this is the location of the previous definition
/home2/buildbot/slave/3.x.loewis-sun/build/Modules/sha1module.c:131:1: warning: "FF1" redefined
/usr/include/sys/termios.h:252:1: warning: this is the location of the previous definition
/home2/buildbot/slave/3.x.loewis-sun/build/Modules/_cursesmodule.c:716: warning: implicit declaration of function `mvwchgat'
/home2/buildbot/slave/3.x.loewis-sun/build/Modules/_cursesmodule.c:720: warning: implicit declaration of function `wchgat'
/home2/buildbot/slave/3.x.loewis-sun/build/Modules/_multiprocessing/semaphore.c:436: warning: int format, pid_t arg (arg 4)
/home2/buildbot/slave/3.x.loewis-sun/build/Modules/_ctypes/callproc.c:1086: warning: implicit declaration of function `alloca'
/home2/buildbot/slave/3.x.loewis-sun/build/Modules/_ctypes/stgdict.c:486: warning: implicit declaration of function `alloca'

http://www.python.org/dev/buildbot/builders/ia64%20Ubuntu%203.x
/home/pybot/buildarea/3.x.klose-debian-ia64/build/Modules/_ctypes/libffi/src/ia64/ffi.c:401: warning: function declaration isn't a prototype

http://www.python.org/dev/buildbot/builders/x86%20FreeBSD%203.x
/usr/home/db3l/buildarea/3.x.bolen-freebsd/build/Modules/_ssl.c:699: warning: passing arg 2 of `ASN1_item_d2i' from incompatible pointer type
/usr/home/db3l/buildarea/3.x.bolen-freebsd/build/Modules/_ssl.c:704: warning: passing arg 2 of pointer to function from incompatible pointer type
/usr/local/include/gdbm.h:85: warning: function declaration isn't a prototype
/usr/home/db3l/buildarea/3.x.bolen-freebsd/build/Modules/_ctypes/callproc.c:1387: warning: initialization discards qualifiers from pointer target type

http://www.python.org/dev/buildbot/builders/i386%20Ubuntu%203.x
/scratch/pybot-buildarea/3.x.klose-ubuntu-i386/build/Modules/_pickle.c:4392:9: warning: case value '0' not in enumerated type 'enum opcode'
/scratch/pybot-buildarea/3.x.klose-ubuntu-i386/build/Modules/_csv.c:541:15: warning: operation on 'self->field' may be undefined
/scratch/pybot-buildarea/3.x.klose-ubuntu-i386/build/Modules/_csv.c:1062:14: warning: operation on 'self->rec' may be undefined

----------

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


More information about the Python-bugs-list mailing list