Package: openmsx Version: 0.6.3-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 openmsx_0.6.3-2 on em64t by sbuild/amd64 0.53 .. > Compiling fdc/MSXFDC.cc... > Compiling fdc/MSXtar.cc... > src/fdc/MSXtar.cc: In member function 'void > openmsx::MSXtar::alterFileInDSK(openmsx::MSXtar::MSXDirEntry&, const > std::string&)': > src/fdc/MSXtar.cc:630: error: 'fopen' was not declared in this scope > src/fdc/MSXtar.cc:662: error: 'fread' was not declared in this scope > src/fdc/MSXtar.cc:671: error: 'fclose' was not declared in this scope > src/fdc/MSXtar.cc: In member function 'void > openmsx::MSXtar::fileExtract(std::string, openmsx::MSXtar::MSXDirEntry&)': > src/fdc/MSXtar.cc:929: error: 'fopen' was not declared in this scope > src/fdc/MSXtar.cc:937: error: 'fwrite' was not declared in this scope > src/fdc/MSXtar.cc:941: error: 'fclose' was not declared in this scope > make[1]: *** [derived/x86_64-linux-opt/obj/fdc/MSXtar.o] Error 1 > make[1]: Leaving directory `/build/tbm/openmsx-0.6.3' > make: *** [build-stamp] Error 2 --- src/fdc/MSXtar.cc~ 2008-11-08 06:05:36.000000000 +0000 +++ src/fdc/MSXtar.cc 2008-11-08 06:05:44.000000000 +0000 @@ -11,6 +11,7 @@ #include <time.h> #include <utime.h> #include <unistd.h> +#include <cstdio> #include <cstdlib> #include <cstring> #include <algorithm> --- src/ide/IDECDROM.cc~ 2008-11-08 06:11:10.000000000 +0000 +++ src/ide/IDECDROM.cc 2008-11-08 06:11:31.000000000 +0000 @@ -12,6 +12,7 @@ #include <algorithm> #include <bitset> #include <cassert> +#include <cstdio> using std::string; using std::vector; --- src/video/GLUtil.cc~ 2008-11-08 06:19:13.000000000 +0000 +++ src/video/GLUtil.cc 2008-11-08 06:19:19.000000000 +0000 @@ -9,6 +9,7 @@ #include "Version.hh" #include <iostream> #include <memory> +#include <cstdio> #include <cstdlib> #include <cstring> -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

