Package: srecord Version: 1.39-1 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 srecord_1.39-1 on em64t by sbuild/amd64 0.53 ... > chmod 0755 bin > g++ -g -O2 -g -Wall -O2 -fno-rtti -I. -c lib/arglex.cc > lib/arglex.cc: In member function 'void arglex::read_arguments_file(const > char*)': > lib/arglex.cc:78: error: 'fopen' was not declared in this scope > lib/arglex.cc:83: error: 'getc' was not declared in this scope > lib/arglex.cc:84: error: 'EOF' was not declared in this scope > lib/arglex.cc:102: error: 'EOF' was not declared in this scope > lib/arglex.cc:114: error: 'EOF' was not declared in this scope > lib/arglex.cc:121: error: 'ungetc' was not declared in this scope > lib/arglex.cc:131: error: 'fclose' was not declared in this scope > make[1]: *** [lib/arglex.o] Error 1 --- lib/quit/normal.cc~ 2008-11-07 16:54:24.000000000 +0000 +++ lib/quit/normal.cc 2008-11-07 16:54:30.000000000 +0000 @@ -18,6 +18,7 @@ // #include <cstdarg> +#include <cstdio> #include <cstdlib> #include <cstring> #include <iostream> --- lib/srec/input/generator/constant.cc~ 2008-11-07 16:55:28.000000000 +0000 +++ lib/srec/input/generator/constant.cc 2008-11-07 16:56:03.000000000 +0000 @@ -17,6 +17,8 @@ // <http://www.gnu.org/licenses/>. // +#include <cstdio> + #include <lib/srec/input/generator/constant.h> --- lib/srec/input/file.cc~ 2008-11-07 16:54:43.000000000 +0000 +++ lib/srec/input/file.cc 2008-11-07 16:54:48.000000000 +0000 @@ -19,6 +19,7 @@ #include <errno.h> +#include <cstdio> #include <iostream> using namespace std; #include <cstring> --- lib/srec/output/file/asm.cc~ 2008-11-07 16:56:34.000000000 +0000 +++ lib/srec/output/file/asm.cc 2008-11-07 16:56:39.000000000 +0000 @@ -17,6 +17,8 @@ // <http://www.gnu.org/licenses/>. // +#include <cstdio> + #include <lib/interval.h> #include <lib/srec/arglex.h> #include <lib/srec/output/file/asm.h> --- lib/srec/output/file/basic.cc~ 2008-11-07 16:56:51.000000000 +0000 +++ lib/srec/output/file/basic.cc 2008-11-07 16:56:57.000000000 +0000 @@ -17,6 +17,8 @@ // <http://www.gnu.org/licenses/>. // +#include <cstdio> + #include <lib/interval.h> #include <lib/srec/output/file/basic.h> #include <lib/srec/record.h> --- lib/srec/output/file.cc~ 2008-11-07 16:56:21.000000000 +0000 +++ lib/srec/output/file.cc 2008-11-07 16:56:27.000000000 +0000 @@ -19,6 +19,7 @@ #include <errno.h> +#include <cstdio> #include <iostream> using namespace std; #include <sys/types.h> --- lib/srec/output.cc~ 2008-11-07 16:55:48.000000000 +0000 +++ lib/srec/output.cc 2008-11-07 16:55:55.000000000 +0000 @@ -18,6 +18,7 @@ // +#include <cstdio> #include <cerrno> #include <lib/quit.h> --- lib/arglex.cc~ 2008-11-07 16:53:54.000000000 +0000 +++ lib/arglex.cc 2008-11-07 16:54:03.000000000 +0000 @@ -20,6 +20,7 @@ #include <cctype> #include <cstring> +#include <cstdio> #include <cstdlib> #include <errno.h> #include <iostream> --- lib/interval.cc~ 2008-11-07 16:54:13.000000000 +0000 +++ lib/interval.cc 2008-11-07 16:54:17.000000000 +0000 @@ -19,6 +19,7 @@ #include <lib/interval.h> +#include <cstdio> #include <iostream> using namespace std; -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]