#4000: Implement QQ['x'] via Flint ZZ['x'] + denominator
------------------------------+---------------------------------------------
 Reporter:  malb              |         Owner:  somebody                        
                          
     Type:  enhancement       |        Status:  new                             
                          
 Priority:  major             |     Milestone:  sage-4.6                        
                          
Component:  basic arithmetic  |    Resolution:                                  
                          
 Keywords:                    |        Author:  Sebastian Pancratz, Martin 
Albrecht                       
 Upstream:  N/A               |      Reviewer:  John Cremona, Martin Albrecht, 
Alex Ghitza, Harald Schilly
   Merged:  sage-4.6.alpha1   |   Work_issues:                                  
                          
------------------------------+---------------------------------------------
Changes (by mpatel):

  * status:  closed => new
  * resolution:  fixed =>


Comment:

 I get a build error on the Solaris machines t2.math and
 {fulvia,mark,mark2}.skynet:
 {{{
 building 'sage.rings.polynomial.polynomial_rational_flint' extension
 gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
 prototypes -fPIC
 -I/home/mpatel/build/fulvia/sage-4.6.alpha1/local/include/FLINT/
 -I/home/mpatel/build/fulvia/sage-4.6.alpha1/devel/sage/sage/libs/flint/
 -I/home/mpatel/build/fulvia/sage-4.6.alpha1/local//include
 -I/home/mpatel/build/fulvia/sage-4.6.alpha1/local//include/csage
 -I/home/mpatel/build/fulvia/sage-4.6.alpha1/devel//sage/sage/ext
 -I/home/mpatel/build/fulvia/sage-4.6.alpha1/local/include/python2.6 -c
 sage/rings/polynomial/polynomial_rational_flint.cpp -o
 
build/temp.solaris-2.10-i86pc-2.6/sage/rings/polynomial/polynomial_rational_flint.o
 -std=c99 -D_XPG6 -w
 cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
 Ada/C/ObjC but not for C++
 In file included from /usr/include/limits.h:18:0,
                  from /usr/local/gcc-4.5.1/x86_64-SunOS-core2-sun-
 ld/lib/gcc/i386-pc-solaris2.10/4.5.1/include-fixed/limits.h:169,
                  from /usr/local/gcc-4.5.1/x86_64-SunOS-core2-sun-
 ld/lib/gcc/i386-pc-solaris2.10/4.5.1/include-fixed/syslimits.h:7,
                  from /usr/local/gcc-4.5.1/x86_64-SunOS-core2-sun-
 ld/lib/gcc/i386-pc-solaris2.10/4.5.1/include-fixed/limits.h:34,
                  from
 /home/mpatel/build/fulvia/sage-4.6.alpha1/local/include/python2.6/Python.h:19,
                  from
 sage/rings/polynomial/polynomial_rational_flint.cpp:4:
 /usr/local/gcc-4.5.1/x86_64-SunOS-core2-sun-ld/lib/gcc/i386-pc-
 solaris2.10/4.5.1/include-fixed/sys/feature_tests.h:345:2: error: #error
 "Compiler or options invalid; UNIX 03 and POSIX.1-2001 applications
 require the use of c99"
 error: command 'gcc' failed with exit status 1
 sage: There was an error installing modified sage library code.
 }}}

 I'm reopening this ticket.  Unless someone can post a patch within a day
 or so, I'll "unmerge" the changes from 4.6.alpha1.

 There are also some doctest errors...

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