#10260: module_list.py: quaternion_algebra_element.pyx wrongly uses -std=c99 
option
------------------------------+---------------------------------------------
   Reporter:  jdemeyer        |       Owner:  GeorgSWeber 
       Type:  defect          |      Status:  needs_review
   Priority:  major           |   Milestone:  sage-4.6.1  
  Component:  build           |    Keywords:              
     Author:  Jeroen Demeyer  |    Upstream:  N/A         
   Reviewer:                  |      Merged:              
Work_issues:                  |  
------------------------------+---------------------------------------------

Comment(by fbissey):

 Replying to [comment:3 robertwb]:
 > Could you explain what "D_XPG6" is and why it's needed? (I've seen this
 elsewhere, and yet to have anyone justify it.)

 After a quick googling it looks like something ugly. First hit says:
 XPG was the X/Open Portability Guide, a pre-POSIX consortium to promote
 interoperability between different UNIX vendors. XPG6 is "X/Open
 Portability Guide, Issue 6".

 But that one is a little bit more verbose about what that flag is supposed
 to do:
 [http://unix.derkeiler.com/Newsgroups/comp.unix.solaris/2007-01/msg00360.html]
 In short make C99 code work inside c++ code... Which may explain why
 someone
 bothered to put it together with -std=c99. Also the post ask how to enable
 it
 on solaris which explains why there is a uname_specific command with it.

 It seem to be regarded as a bad idea by a number of people.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10260#comment:4>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to