[Python-Dev] Python 2.6.4rc2
Lisandro Dalcin
dalcinl at gmail.com
Tue Oct 20 05:10:45 CEST 2009
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 -DPy_BUILD_CORE -o Objects/unicodeobject.o
Objects/unicodeobject.c
Objects/unicodeobject.c: In function 'PyUnicodeUCS2_FromFormatV':
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 'PyUnicodeUCS2_DecodeUTF8' differ in signedness
Include/unicodeobject.h:752: note: expected 'const char *' but
argument is of type 'unsigned char *'
BTW, should Python build with a C++ compiler? It seems this is not
possible with 2.6.4rc2 (and GCC 4.4.1)
On Mon, Oct 19, 2009 at 8:55 AM, Barry Warsaw <barry at python.org> wrote:
> On Oct 19, 2009, at 3:59 AM, Vinay Sajip wrote:
>
>> Barry Warsaw <barry <at> python.org> writes:
>>
>>> http://www.python.org/download/releases/2.6.4/
>>
>> Good news, but just one little nit: the page above appears to link to the
>> NEWS
>> file for 2.6.4rc1.
>
> Ooops! Fixed, thanks.
> -Barry
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/dalcinl%40gmail.com
>
>
--
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
More information about the Python-Dev
mailing list