Package: gsmlib Version: 1.10-10 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 gsmlib_1.10-10 on em64t by sbuild/amd64 0.53 ... > gsm_util.cc: In function 'std::string gsmlib::gsmToLatin1(std::string)': > gsm_util.cc:106: warning: array subscript has type 'char' > gsm_util.cc: In copy constructor 'gsmlib::NoCopy::NoCopy(gsmlib::NoCopy&)': > gsm_util.cc:262: error: 'abort' was not declared in this scope > gsm_util.cc: In member function 'gsmlib::NoCopy& > gsmlib::NoCopy::operator=(gsmlib::NoCopy&)': > gsm_util.cc:268: error: 'abort' was not declared in this scope > gsm_util.cc: In function 'int gsmlib::debugLevel()': > gsm_util.cc:320: error: 'getenv' was not declared in this scope > make[3]: *** [gsm_util.lo] Error 1 > make[3]: Leaving directory `/build/tbm/gsmlib-1.10/gsmlib' --- gsmlib/gsm_util.cc~ 2007-04-01 20:41:17.000000000 +0000 +++ gsmlib/gsm_util.cc 2007-04-01 20:53:08.000000000 +0000 @@ -35,6 +35,7 @@ #define __USE_GNU #define _GNU_SOURCE #endif +#include <cstdlib> #include <stdio.h> #include <sys/stat.h> --- gsmlib/gsm_me_ta.cc~ 2007-04-01 20:43:10.000000000 +0000 +++ gsmlib/gsm_me_ta.cc 2007-04-01 20:43:18.000000000 +0000 @@ -19,6 +19,8 @@ #include <gsmlib/gsm_parser.h> #include <gsmlib/gsm_sysdep.h> +#include <cstdlib> + using namespace std; using namespace gsmlib; --- gsmlib/gsm_sms_codec.cc~ 2007-04-01 20:45:28.000000000 +0000 +++ gsmlib/gsm_sms_codec.cc 2007-04-01 20:45:35.000000000 +0000 @@ -23,6 +23,7 @@ #ifdef HAVE_STRING_H #include <string.h> #endif +#include <climits> #include <string> using namespace std; using namespace gsmlib; -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]