]> granicus.if.org Git - python/commit
When we know the compiler is GCC, always add the -Wall and
authorFred Drake <fdrake@acm.org>
Thu, 12 Oct 2000 17:11:38 +0000 (17:11 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 12 Oct 2000 17:11:38 +0000 (17:11 +0000)
commitf4670e96394bf667f5cd959ee9d282435c792657
treec3470fa58637474a2e2f1a779c970213fff876c5
parent22d5895dc337bb457dba6ce3623d835f32f32962
When we know the compiler is GCC, always add the -Wall and
-Wstrict-prototypes options.  This will make it a lot easier to keep
warnings under control in the first place in the future.

There is one known warning at this time, caught by the -Wstrict-prototypes
option.  In Modules/main.c, the declaration of getopt() without parameters
gets a complaint (rightly) that it is not a proper prototype.  The lack of
a complete prototype information should be corrected when the right
portability conditions have been identified.

Approved by the Guido.
configure
configure.in