Le 15/05/2011 14:13, Julien PUYDT a écrit :
I'm still using latest stable :-)

Well, I *was* still using it : I decided to check if it was still compiling correctly too, so I removed it and gave it a try : it doesn't compile anymore :-)

(not a big problem -- I wouldn't have tried that if I had a need for sage in the coming weeks)

The failure is in lcalc :
g++  -O3  -Wall  -O3     -ffast-math -fPIC  -I../include -c Lglobals.cc
In file included from ../include/Lglobals.h:51:0,
                 from Lglobals.cc:23:
/usr/include/c++/4.6/limits: In static member function ‘static double std::numeric_limits<double>::min()’: /usr/include/c++/4.6/limits:1479:31: error: call of overloaded ‘lcalc_to_double(long double)’ is ambiguous
/usr/include/c++/4.6/limits:1479:31: note: candidates are:
../include/Lcommon.h:18:15: note: double lcalc_to_double(const Double&)
../include/Lcommon.h:29:15: note: double lcalc_to_double(const int&)
../include/Lcommon.h:30:15: note: double lcalc_to_double(const long long int&)
../include/Lcommon.h:31:15: note: double lcalc_to_double(const short int&)
../include/Lcommon.h:32:15: note: double lcalc_to_double(const char&)
../include/Lcommon.h:33:15: note: double lcalc_to_double(const long int&)
../include/Lcommon.h:34:15: note: double lcalc_to_double(const unsigned int&) ../include/Lcommon.h:35:15: note: double lcalc_to_double(const long unsigned int&) /usr/include/c++/4.6/limits: In static member function ‘static double std::numeric_limits<double>::max()’: /usr/include/c++/4.6/limits:1482:30: error: call of overloaded ‘lcalc_to_double(long double)’ is ambiguous
/usr/include/c++/4.6/limits:1482:30: note: candidates are:
../include/Lcommon.h:18:15: note: double lcalc_to_double(const Double&)
../include/Lcommon.h:29:15: note: double lcalc_to_double(const int&)
../include/Lcommon.h:30:15: note: double lcalc_to_double(const long long int&)
../include/Lcommon.h:31:15: note: double lcalc_to_double(const short int&)
../include/Lcommon.h:32:15: note: double lcalc_to_double(const char&)
../include/Lcommon.h:33:15: note: double lcalc_to_double(const long int&)
../include/Lcommon.h:34:15: note: double lcalc_to_double(const unsigned int&) ../include/Lcommon.h:35:15: note: double lcalc_to_double(const long unsigned int&) /usr/include/c++/4.6/limits: In static member function ‘static double std::numeric_limits<double>::epsilon()’: /usr/include/c++/4.6/limits:1501:34: error: call of overloaded ‘lcalc_to_double(long double)’ is ambiguous
/usr/include/c++/4.6/limits:1501:34: note: candidates are:
../include/Lcommon.h:18:15: note: double lcalc_to_double(const Double&)
../include/Lcommon.h:29:15: note: double lcalc_to_double(const int&)
../include/Lcommon.h:30:15: note: double lcalc_to_double(const long long int&)
../include/Lcommon.h:31:15: note: double lcalc_to_double(const short int&)
../include/Lcommon.h:32:15: note: double lcalc_to_double(const char&)
../include/Lcommon.h:33:15: note: double lcalc_to_double(const long int&)
../include/Lcommon.h:34:15: note: double lcalc_to_double(const unsigned int&) ../include/Lcommon.h:35:15: note: double lcalc_to_double(const long unsigned int&) /usr/include/c++/4.6/limits: In static member function ‘static double std::numeric_limits<double>::denorm_min()’: /usr/include/c++/4.6/limits:1529:37: error: call of overloaded ‘lcalc_to_double(long double)’ is ambiguous
/usr/include/c++/4.6/limits:1529:37: note: candidates are:
../include/Lcommon.h:18:15: note: double lcalc_to_double(const Double&)
../include/Lcommon.h:29:15: note: double lcalc_to_double(const int&)
../include/Lcommon.h:30:15: note: double lcalc_to_double(const long long int&)
../include/Lcommon.h:31:15: note: double lcalc_to_double(const short int&)
../include/Lcommon.h:32:15: note: double lcalc_to_double(const char&)
../include/Lcommon.h:33:15: note: double lcalc_to_double(const long int&)
../include/Lcommon.h:34:15: note: double lcalc_to_double(const unsigned int&) ../include/Lcommon.h:35:15: note: double lcalc_to_double(const long unsigned int&)
make[3]: *** [Lglobals.o] Erreur 1
make[3]: quittant le répertoire « /home/jpuydt/sage-4.6.2/spkg/build/lcalc-20100428-1.23.p5/src/src »


Hope this helps,

Snark on #sagemath

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to