Package: newpki-lib Version: 2.0.0+rc1-2 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 (20070326-1 or higher) from unstable. > Automatic build of newpki-lib_2.0.0+rc1-2 on coconut0 by sbuild/ia64 0.49 ... > g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -MT libnewpki_la-mString.lo > -MD -MP -MF .deps/libnewpki_la-mString.Tpo -c ./mString.cpp -fPIC -DPIC -o > .libs/libnewpki_la-mString.o > In file included from ./mString.cpp:30: > ./mString.h:365: warning: type qualifiers ignored on function return type > ./mString.cpp:269: warning: type qualifiers ignored on function return type > ./mString.cpp: In member function 'int mString::vsprintf(const char*, void*)': > ./mString.cpp:738: error: 'INT_MAX' was not declared in this scope > ./mString.cpp: In member function 'void mString::fmtint(long int, int, int, > int, int)': --- src/mString.cpp~ 2007-04-02 19:41:35.000000000 +0000 +++ src/mString.cpp 2007-04-02 19:41:46.000000000 +0000 @@ -31,6 +31,7 @@ #include <PEM_DER.h> #include <PKI_ERR.h> #include <iconv.h> +#include <climits> ////////////////////////////////////////////////////////////////////// // Construction/Destruction --- src/mString.h~ 2007-04-02 19:34:32.000000000 +0000 +++ src/mString.h 2007-04-02 19:34:41.000000000 +0000 @@ -31,6 +31,7 @@ #include <openssl/asn1.h> +#include <cstdlib> #include <string> #include <vector> using namespace std; -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]