#8753: get pynac to build with gcc-4.5.
----------------------+-----------------------------------------------------
   Reporter:  was     |       Owner:  GeorgSWeber
       Type:  defect  |      Status:  new        
   Priority:  major   |   Milestone:  sage-4.4   
  Component:  build   |    Keywords:             
     Author:          |    Upstream:  N/A        
   Reviewer:          |      Merged:             
Work_issues:          |  
----------------------+-----------------------------------------------------

Comment(by was):

 The fix is to replace the one instance (around line 2000) of
 {{{
 power::power
 }}}
 in src/ginac/functions.cpp with
 {{{
 GiNaC::power
 }}}
 This is evidently due to *better* checking of the proper namespace/scoping
 rules in GCC-4.5.0.

 I made the above change, and Ginac builds fine.  Moreover, I ran this
 code:
 {{{
 sage: 1/tan(x)
 }}}
 and
 {{{
 sage: derivative(1/tan(x)).integrate(x)
 1/tan(x)
 }}}

 According to the print statements I inserted into functions.cpp, the code
 that called power::power before is activated and is working correctly (no
 weird infinite recursions or anything).

 I'm hoping this can just be given a positive review by Burcin and the fix
 rolled into the spkg at #8644, with a link from #8644 to this ticket.

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