Opened 14 years ago

Closed 13 years ago

Last modified 13 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: 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 14 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 14 years ago by mabshoff

  • Milestone set to sage-feature

comment:3 Changed 14 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 13 years ago by malb

  • Milestone changed from sage-feature to sage-duplicate/invalid
  • Resolution set to invalid
  • Status changed from new to closed

I'm all for invalidating.

comment:5 Changed 13 years ago by mabshoff

Agreed. This is a distutils problem anyway.



Note: See TracTickets for help on using tickets.