2.4.2 on AIX fails compiling _codecs_cn.c

Paul Watson pwatson at redlinepy.com
Wed Nov 23 22:56:34 CET 2005


Any ideas why ./Modules/cjkcodecs/_codecs_cn.c fails to compile?  It 
appears that the CODEC_STATELESS macro is concatenating 'hz' with a 
number and text.


building '_codecs_cn' extension
cc -DNDEBUG -O -I. -I/home/pwatson/src/python/Python-2.4.2/./Include 
-I/home/pwatson/src/python/Python-2.4.2/Include 
-I/home/pwatson/src/python/Python-2.4.2 -c 
/home/pwatson/src/python/Python-2.4.2/Modules/cjkcodecs/_codecs_cn.c -o 
build/temp.aix-4.3-2.4/_codecs_cn.o
"/home/pwatson/src/python/Python-2.4.2/Modules/cjkcodecs/_codecs_cn.c", 
line 431.3: 1506-206 (S) Suffix of integer constant 100_encode is not valid.
"/home/pwatson/src/python/Python-2.4.2/Modules/cjkcodecs/_codecs_cn.c", 
line 431.3: 1506-196 (W) Initialization between types "int(*)(union 
{...}*,const void*,const unsigned short**,unsigned long,unsigned 
char**,unsigned long,int)" and "int" is not allowed.



More information about the Python-list mailing list