Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#425 closed enhancement (invalid)

Squash warning cause by using "-Wstrict-prototypes" in cython

Reported by: mabshoff Owned by: was
Priority: trivial Milestone: sage-duplicate/invalid/wontfix
Component: packages: standard Keywords:
Cc: robertwb Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


When compiling C code in cython some times "-Wstrict-prototypes" is added, causing the following warning:

cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++

Change History (5)

comment:1 Changed 15 years ago by malb

IIRC this gcc option is added by python-cflags:

SAGE_ROOT/local/bin/python2.5-config --cflags
-I/home/malb/SAGE/local/include/python2.5 \ 
-I/home/malb/SAGE/local/include/python2.5 \
-fno-strict-aliasing -DNDEBUG -g -O3 -Wall \

comment:2 Changed 15 years ago by mabshoff

Milestone: sage-feature

comment:3 Changed 15 years ago by mabshoff

Cc: robertwb added

I agree with malb here that it is Python which is at fault here. Since this is only a minor annoyance I think we should just invalidate it.




comment:4 Changed 14 years ago by malb

Milestone: sage-featuresage-duplicate/invalid
Resolution: invalid
Status: newclosed

I'm all for invalidating.

comment:5 Changed 14 years ago by mabshoff

Agreed. This is a distutils problem anyway.



Note: See TracTickets for help on using tickets.