Package: gambit Version: 0.2006.01.20-2.2 User: [EMAIL PROTECTED] Usertags: ftbfs-gcc-4.4 Tags: patch
Your package fails to build with the upcoming GCC 4.4. Version 4.4 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning. GCC 4.4 cleaned up some more C++ headers. You always have to #include headers directly and cannot rely for things to be included indirectly. You can reproduce this problem with gcc-snapshot from unstable. > Automatic build of gambit_0.2006.01.20-2.2 on em64t by sbuild/amd64 0.53 ... > if x86_64-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" > -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" > -DPACKAGE=\"gambit\" -DVERSION=\"0.2006.01.20\" -DSTDC_HEADERS=1 > -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 > -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 > -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_BCMP=1 -DHAVE_SRAND48=1 > -DHAVE_DRAND48=1 -I. -I. -I../../../sources -g -O2 -MT double.o -MD -MP > -MF ".deps/double.Tpo" -c -o double.o double.cc; \ > then mv -f ".deps/double.Tpo" ".deps/double.Po"; else rm -f > ".deps/double.Tpo"; exit 1; fi > double.cc: In function 'std::string ToText(gDouble)': > double.cc:243: error: 'sprintf' was not declared in this scope > make[4]: *** [double.o] Error 1 > make[4]: Leaving directory > `/build/tbm/gambit-0.2006.01.20/sources/tools/enumpoly' --- sources/tools/enumpoly/double.cc~ 2008-11-09 07:39:43.000000000 +0000 +++ sources/tools/enumpoly/double.cc 2008-11-09 07:39:51.000000000 +0000 @@ -28,6 +28,7 @@ #pragma implementation #endif +#include <cstdio> #include <cstdlib> #include <math.h> #include <float.h> -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

