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

Created on 2009-04-14 17:22 by zooko, last changed 2014-01-25 19:02 by jon.

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:

http://trac.sagemath.org/sage_trac/ticket/425
http://www.mail-archive.com/matplotlib-
users@lists.sourceforge.net/msg03947.html

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: http://bugs.python.org/issue1222585 (and here http://bugs.python.org/issue9031).
History
Date User Action Args
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