#14265: Compile Python as C99
----------------------------------+-----------------------------------------
       Reporter:  jdemeyer        |         Owner:  tbd         
           Type:  defect          |        Status:  needs_review
       Priority:  blocker         |     Milestone:  sage-5.9    
      Component:  packages        |    Resolution:              
       Keywords:                  |   Work issues:              
Report Upstream:  N/A             |     Reviewers:              
        Authors:  Jeroen Demeyer  |     Merged in:              
   Dependencies:                  |      Stopgaps:              
----------------------------------+-----------------------------------------

Comment (by leif):

 Replying to [comment:10 jdemeyer]:
 > More weirdness:
 > {{{
 > jdemeyer@sage:~$ gcc -std=gnu99 -Wstrict-prototypes -c -x c++ /dev/null
 -o /dev/null
 > cc1plus: warning: command line option '-Wstrict-prototypes' is valid for
 C/ObjC but not for C++ [enabled by default]
 > cc1plus: warning: command line option '-std=gnu99' is valid for C/ObjC
 but not for C++ [enabled by default]
 > }}}
 > {{{
 > jdemeyer@sage:~$ gcc -std=gnu99 -Wstrict-prototypes -c -x c++ /dev/null
 -o /dev/null -w
 > cc1plus: warning: command line option '-Wstrict-prototypes' is valid for
 C/ObjC but not for C++ [enabled by default]
 > }}}
 >
 > Anyway, it's a strange thing that Python uses `CC` and `CFLAGS` to
 compile C++ code.

 Yeah, I'll one day fix these (by removing the invalid options if
 `lang==c++`) ...

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14265#comment:11>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to