Package: imms Version: 3.0.2-1 Usertags: ftbfs-gcc-4.3 Tags: patch Your package fails to build with GCC 4.3. Version 4.3 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning. In GCC 4.3, the C++ header dependencies have been cleaned up. The advantage of this is that programs will compile faster. The downside is that you actually need to directly #include everything you use (but you really should do this anyway, otherwise your program won't work with any compiler other than GCC). Some background of this can be found at http://gcc.gnu.org/PR28080
You can reproduce this problem with gcc-snapshot from unstable. > Automatic build of imms_3.0.2-1 on coconut0 by sbuild/ia64 0.49 ... > g++ -g -O2 -fno-rtti -O3 -Wall -fPIC -D_REENTRANT -I../ -I../immscore > -I../clients -c ../immscore/basicdb.cc -o basicdb.o > In file included from ../immscore/immsdb.h:6, > from ../immscore/basicdb.cc:7: > ../immscore/correlate.h: In member function 'void > CorrelationDb::clear_recent()': > ../immscore/correlate.h:20: error: 'INT_MAX' was not declared in this scope > In file included from ../immscore/basicdb.cc:8: > ../immscore/immsutil.h: At global scope: > ../immscore/immsutil.h:60: error: 'INT_MAX' was not declared in this scope > make[2]: *** [basicdb.o] Error 1 > make[1]: *** [all] Error 2 --- immsd/socketserver.cc~ 2007-04-01 21:13:35.000000000 +0000 +++ immsd/socketserver.cc 2007-04-01 21:13:46.000000000 +0000 @@ -6,6 +6,7 @@ #include <string.h> #include <errno.h> +#include <cstdlib> #include <iostream> using std::endl; --- immscore/immsutil.h~ 2007-04-01 21:10:14.000000000 +0000 +++ immscore/immsutil.h 2007-04-01 21:10:20.000000000 +0000 @@ -1,6 +1,7 @@ #ifndef __UTILS_H #define __UTILS_H +#include <climits> #include <sys/time.h> #include <string> #include <vector> --- immscore/correlate.h~ 2007-04-01 21:10:25.000000000 +0000 +++ immscore/correlate.h 2007-04-01 21:10:32.000000000 +0000 @@ -1,6 +1,7 @@ #ifndef __CORRELATE_H #define __CORRELATE_H +#include <climits> #include <sys/time.h> #include <string> #include <vector> --- immscore/imms.cc~ 2007-04-01 21:11:43.000000000 +0000 +++ immscore/imms.cc 2007-04-01 21:12:16.000000000 +0000 @@ -1,3 +1,4 @@ +#include <algorithm> #include <time.h> #include <ctype.h> #include <math.h> --- analyzer/distance.h~ 2007-04-01 21:14:43.000000000 +0000 +++ analyzer/distance.h 2007-04-01 21:14:48.000000000 +0000 @@ -1,6 +1,7 @@ #ifndef __DISTANCE_H #define __DISTANCE_H +#include <cstdlib> #include <math.h> #include <analyzer/mfcckeeper.h> -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

