[GiNaC-devel] ginac-1.4.1 fails to compile under gcc-4.3.0
Sergei Steshenko
sergstesh at yahoo.com
Thu Mar 6 23:49:07 CET 2008
Hello All,
yesterday I built the brand new gcc-4.3.0 and later tried to compile ginac-1.4.1 using it.
Compilation failed with these command line and error messages:
" g++ -DHAVE_CONFIG_H -I. -I.. -I/maxtor5/sergei/AppsFromScratchWD/install/autoconf-2.61/include
-I/maxtor5/sergei/AppsFromScratchWD/install/autogen-5.8.7/include
-I/maxtor5/sergei/AppsFromScratchWD/install/bash-3.0/include
-I/maxtor5/sergei/AppsFromScratchWD/install/bison-2.3/include
-I/maxtor5/sergei/AppsFromScratchWD/install/cln-1.2.0/include
-I/maxtor5/sergei/AppsFromScratchWD/install/dejagnu-1.4.4/include
-I/maxtor5/sergei/AppsFromScratchWD/install/expect-5.44.1/include
-I/maxtor5/sergei/AppsFromScratchWD/install/flex-2.5.35/include
-I/maxtor5/sergei/AppsFromScratchWD/install/gcc-4.3.0/include
-I/maxtor5/sergei/AppsFromScratchWD/install/gmp-4.2.2/include
-I/maxtor5/sergei/AppsFromScratchWD/install/gperf-3.0.2/include
-I/maxtor5/sergei/AppsFromScratchWD/install/guile-1.8.4/include
-I/maxtor5/sergei/AppsFromScratchWD/install/libtool-1.5.26/include
-I/maxtor5/sergei/AppsFromScratchWD/install/m4-1.4.10/include
-I/maxtor5/sergei/AppsFromScratchWD/install/make-3.80/include
-I/maxtor5/sergei/AppsFromScratchWD/install/mpfr-2.3.1/include
-I/maxtor5/sergei/AppsFromScratchWD/install/ncurses-5.6/include
-I/maxtor5/sergei/AppsFromScratchWD/install/readline-5.1/include
-I/maxtor5/sergei/AppsFromScratchWD/install/tcl-8.4.17/include
-I/maxtor5/sergei/AppsFromScratchWD/install/texinfo-4.9/include
-I/maxtor5/sergei/AppsFromScratchWD/install/tk-8.4.17/include
-I/maxtor5/sergei/AppsFromScratchWD/install/cln-1.2.0/include -march=native -mtune=native
-mfpmath=sse,387 -MT numeric.lo -MD -MP -MF .deps/numeric.Tpo -c numeric.cpp -fPIC -DPIC -o
.libs/numeric.o
numeric.cpp:422: error: explicit template specialization cannot have a storage class
numeric.cpp:434: error: explicit template specialization cannot have a storage class
make[2]: *** [numeric.lo] Error 1
make[2]: Leaving directory `/maxtor5/sergei/AppsFromScratchWD/build/ginac-1.4.1/ginac'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/maxtor5/sergei/AppsFromScratchWD/build/ginac-1.4.1'
make: *** [all] Error 2
".
I have successfully compiled ginac many times before, using various gcc versions up to gcc-4.2.3,
so it looks like the newest gcc has stricter C++ rules.
Thanks,
Sergei.
Applications From Scratch: http://appsfromscratch.berlios.de/
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
More information about the GiNaC-devel
mailing list