Message 74229 - Python tracker (original) (raw)

Message74229

Author drj
Recipients drj
Date 2008-10-03.08:15:02
SpamBayes Score 5.2565785e-11
Marked as misclassified No
Message-id 1223021705.78.0.0680927211456.issue4025@psf.upfronthosting.co.za
In-reply-to
Content
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.
History
Date User Action Args
2008-10-03 08:15:05 drj set recipients: + drj
2008-10-03 08:15:05 drj set messageid: 1223021705.78.0.0680927211456.issue4025@psf.upfronthosting.co.za
2008-10-03 08:15:05 drj link issue4025 messages
2008-10-03 08:15:03 drj create