#7932: _Complex_I undeclared - a new bug totally stops a Solaris 10 build.
------------------------+---------------------------------------------------
   Reporter:  drkirkby  |       Owner:  drkirkby  
       Type:  defect    |      Status:  new       
   Priority:  blocker   |   Milestone:  sage-4.3.1
  Component:  solaris   |    Keywords:            
Work_issues:            |      Author:            
   Upstream:  N/A       |    Reviewer:            
     Merged:            |  
------------------------+---------------------------------------------------

Comment(by drkirkby):

 The compiler line that is causing the problem does have ''-std=c99'' I
 don't really understand what is going on in that library, the modules
 file, and I don't know C++ anyway, though I realise this bit is C.

 The Sun compiler wont even build previous versions of the Sage library,
 complaining the code is invalid. It tends to be a lot more fussy than
 gcc/g++.

 As can be seen in this patch,

 http://trac.sagemath.org/sage_trac/attachment/ticket/6595/sagelib_6595.patch

 a couple of functions that were declared to return something, did not, yet
 gcc/g++ did not complain about it. Line 1078 shows an answer calculated,
 but it was never returned to the function calling it. Likewise William
 added line 282, which the Sun compiler chocked on, but the GNU compilers
 accept. These are clear errors.

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