disabling compiler flags in distutils
Christian Meesters
meesters at gmx.de
Fri Mar 13 07:23:16 EDT 2009
Hoi,
I've written an extension in C++ which compiles wonderfully. However, I
want to compile it using a setup script with distutils and distutils
gives the compiler the unwanted (!) flag "-Wstrict-prototypes", which is
a flag only understood when compiling C. The C++ compiler runs, but
issues a warning I don't want to see.
Is there a way to turn off that flag in a setup script (using distutils)?
TIA
Christian
More information about the Python-list
mailing list