Title: "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++"
Type: Stage:
Components: Distutils Versions:
Status: open Resolution:
Dependencies: Superseder:
Assigned To: tarek Nosy List: GooseYArd, Jason.Grout, tarek, vokoda, zooko
Priority: normal Keywords: patch

Created on 2009-04-14 17:22 by zooko, last changed 2016-09-08 11:45 by jdemeyer.

File name Uploaded Description Edit
no_strict_proto.patch jdemeyer, 2016-09-08 11:45 Disable -Wstrict-prototypes
Messages (4)
msg85972 - (view) Author: Zooko O'Whielacronx (zooko) Date: 2009-04-14 17:22
A user of the Tahoe-LAFS project submitted a bug report to us, saying:

I get lots of "cc1plus: warning: command line option "-Wstrict-
prototypes" is valid for Ada/C/ObjC but not for C++" when compiling

A little googling shows that this gets reported frequently to other 
Python projects that have C++ code:

Those other projects seem to think that this is distutils's problem, but 
I don't see evidence that any of them opened a ticket for distutils yet.
msg87130 - (view) Author: Tarek Ziadé (tarek) * (Python committer) Date: 2009-05-04 14:14
I could work on a patch for this, by checking the compiler, if I get
some feedback from the matplotlib guys in this issue here
msg116598 - (view) Author: Jason Grout (Jason.Grout) Date: 2010-09-16 19:34
Any progress on this?  I see this warning a *lot* when compiling lots of packages for Sage (matplotlib included).
msg135128 - (view) Author: Peter Le Bek (vokoda) Date: 2011-05-04 13:04
distutils reuses whatever flags Python was built with, covered here: (and here
Date User Action Args
2016-09-08 11:45:58jdemeyersetfiles: + no_strict_proto.patch
keywords: + patch
2014-01-25 19:02:13jonsetnosy: - jon
2011-05-04 13:04:14vokodasetnosy: + vokoda
messages: + msg135128
2011-04-08 22:05:46jonsetnosy: + jon
2010-12-24 02:41:59GooseYArdsetnosy: + GooseYArd
2010-09-16 19:34:52Jason.Groutsetnosy: + Jason.Grout
messages: + msg116598
2009-05-04 14:14:39tareksetmessages: + msg87130
2009-04-14 17:22:50zookocreate