[Python-Dev] Python 2.6.4rc2 (original) (raw)

Barry Warsaw barry at python.org
Tue Oct 20 12:57:45 CEST 2009


On Oct 19, 2009, at 11:10 PM, Lisandro Dalcin wrote:

I'm getting this warning. It seems nothing is actually broken, but the fix is pretty easy.

gcc -pthread -c -fno-strict-aliasing -g -Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPyBUILDCORE -o Objects/unicodeobject.o Objects/unicodeobject.c Objects/unicodeobject.c: In function 'PyUnicodeUCS2FromFormatV': Objects/unicodeobject.c:687: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' Objects/unicodeobject.c:687: warning: pointer targets in passing argument 1 of 'PyUnicodeUCS2DecodeUTF8' differ in signedness Include/unicodeobject.h:752: note: expected 'const char *' but argument is of type 'unsigned char *'

This isn't a regression in 2.6.3, nor is it critical enough, to be
fixed for 2.6.4.

-Barry

-------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 832 bytes Desc: This is a digitally signed message part URL: <http://mail.python.org/pipermail/python-dev/attachments/20091020/f7fa8e80/attachment.pgp>



More information about the Python-Dev mailing list