On Fedora 11 with g++ (GCC) 4.4.0 20090506 (Red Hat 4.4.0-4) the build in sage-4.0.1/spkg/build/singular-3-0-4-4-20090511/src/kernel fails (const correctness violations)
build log output below --------------------------------------------------- g++ -O3 -g -fPIC -pipe -fno-implicit-templates -I. -I/opt/Installed/ sage/local/include -I/opt/Installed/sage/local/include -I/opt/ Installed/sage/local/include -DNDEBUG -DOM_NDEBUG -Dix86_Linux - DHAVE_CONFIG_H -c febase.cc febase.cc: In function ‘FILE* feFopen(const char*, const char*, char*, int, int)’: febase.cc:747: error: assignment of read-only location ‘* dir_sep’ ------------------------------------------------------------- g++ -O3 -g -fPIC -pipe -fno-implicit-templates -I. -I/opt/Installed/ sage/local/include -I/opt/Installed/sage/local/include -I/opt/ Installed/sage/local/include -DNDEBUG -DOM_NDEBUG -Dix86_Linux - DHAVE_CONFIG_H -c mpr_complex.cc mpr_complex.cc: In member function ‘void gmp_float::setFromStr(const char*)’: mpr_complex.cc:85: error: invalid conversion from ‘const char*’ to ‘char*’ make: *** [mpr_complex.o] Error 1 --~--~---------~--~----~------------~-------~--~----~ 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-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
