#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:4 jdemeyer]:
 > Replying to [comment:3 leif]:
 > > Solaris is the only OS I'm aware of (and Sage supports) where GCC does
 '''not''' default to `gnu99` (for C input files).
 > I think GCC never defaults to gnu99/c99. It must be that glibc always
 declares isinf(), even in C89 mode.

 Confused that with `__STDC__`, which GCC defines on anything but Solaris
 by default.

 GLIBC's `math.h` only defines `isinf()` etc. if `__USE_ISOC99` is defined,
 but that's apparently "frequently" the case (see `features.h`.)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14265#comment:5>
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