[issue1915] Python 2.5.1 compile failed with configure option "--enable-unicode=no"

Christian Heimes report at bugs.python.org
Wed Jan 23 10:37:15 CET 2008


Christian Heimes added the comment:

Python/ast.c has been fixed but more code needs to be fixed:

gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o
Parser/tokenizer.o Parser/tokenizer.c
Parser/tokenizer.c: In function 'decode_str':
Parser/tokenizer.c:607: warning: assignment discards qualifiers from
pointer target type
Parser/tokenizer.c: In function 'dec_utf8':
Parser/tokenizer.c:1550: warning: implicit declaration of function
'PyUnicode_DecodeUTF8'
Parser/tokenizer.c:1550: warning: initialization makes pointer from
integer without a cast
Parser/tokenizer.c:1552: warning: implicit declaration of function
'PyUnicode_AsEncodedString'
Parser/tokenizer.c:1552: warning: assignment makes pointer from integer
without a cast

/home/heimes/dev/python/release25-maint/Parser/tokenizer.c:1550:
undefined reference to `PyUnicode_DecodeUTF8'
/home/heimes/dev/python/release25-maint/Parser/tokenizer.c:1552:
undefined reference to `PyUnicode_AsEncodedString'
/home/heimes/dev/python/release25-maint/Parser/tokenizer.c:1550:
undefined reference to `PyUnicode_DecodeUTF8'
/home/heimes/dev/python/release25-maint/Parser/tokenizer.c:1552:
undefined reference to `PyUnicode_AsEncodedString'

----------
components: +Interpreter Core -Unicode
nosy: +tiran
priority:  -> high
versions: +Python 2.6

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1915>
__________________________________


More information about the Python-bugs-list mailing list