[Python-Dev] c99 comments in the 2.6 code base?

Christian Heimes lists at cheimes.de
Fri Oct 3 01:30:59 CEST 2008


Martin v. Löwis wrote:
>> shouldn't we use a suitable gcc option for the buildbots to prevent that
>> from happening?
> 
> Which one specifically?

I suggest we add "-std=c89" to CFLAGS. We could also add a new target 
called buildbot to the Makefile that appends "-std=c89 -Werror" to 
CFLAGS. I don't think it's wise to add "-Werror" to the standard build 
target. However a new build target with extra checks should help to 
detect errors much sooner.

Christian


More information about the Python-Dev mailing list