[New-bugs-announce] [issue4025] C99 comments in Python 2.6 break build on AIX 6.1
David Jones
report at bugs.python.org
Fri Oct 3 10:15:05 CEST 2008
New submission from David Jones <drj at pobox.com>:
Doing a plan "configure" then "make"; the compilation breaks due to //
style comments in a file called Objects/frameobject.c:
cc_r -qlanglvl=extc89 -c -DNDEBUG -O -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Objects/frameobject.o Objects/frameobject.c
"Objects/frameobject.c", line 520.9: 1506-046 (S) Syntax error.
Full transcript attached.
Furthermore, attempting to select a more permissive (better?) compiler,
with "CC=c99 ./configure --without-gcc" for example, doesn't work
because of the bug reported in http://bugs.python.org/issue1633863 (CC
is ignored). I will comment separately in that issue.
It is my understanding (per my blog article http://drj11.wordpress.com/2008/10/02/python-and-bragging-about-c89/ )
that the code is now c89 clean (or at least as clean as «gcc -std=c89 -
Werror» can make it. That means you should be able to close this bug
fairly quickly. :)
After I've hacked the configure script the build still fails, but for
different reasons. I'll file another bug for that.
----------
components: Interpreter Core
files: py26aix61script1
messages: 74229
nosy: drj
severity: normal
status: open
title: C99 comments in Python 2.6 break build on AIX 6.1
type: compile error
versions: Python 2.6
Added file: http://bugs.python.org/file11687/py26aix61script1
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4025>
_______________________________________
More information about the New-bugs-announce
mailing list