Package: omnievents Version: 2.6.2.pre2-1.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 omnievents_2.6.2.pre2-1.2 on coconut0 by sbuild/ia64 0.49 ... > g++ -c -I../idl -I../src -pthread -I/usr/include -DHAVE_CONFIG_H > -DENABLE_CLIENT_IR_SUPPORT=1 -DOMNIEVENTS_REAL_TIME_PUSH=1 -g -Wall -O2 -fPIC > PersistNode.cc > PersistNode.cc: In member function 'bool > OmniEvents::PersistNode::readtoken(std::istream&, std::string&)': > PersistNode.cc:92: error: 'INT_MAX' was not declared in this scope > PersistNode.cc: In member function 'void > OmniEvents::PersistNode::addattr(const std::string&, long int)': > PersistNode.cc:146: warning: format '%i' expects type 'int', but argument 3 > has type 'long int' --- src/PersistNode.cc~ 2007-04-02 19:55:42.000000000 +0000 +++ src/PersistNode.cc 2007-04-02 19:55:48.000000000 +0000 @@ -25,6 +25,7 @@ #include <stdlib.h> #include <stdio.h> +#include <climits> namespace OmniEvents { --- src/Servant.cc~ 2007-04-02 19:58:02.000000000 +0000 +++ src/Servant.cc 2007-04-02 19:58:12.000000000 +0000 @@ -35,6 +35,7 @@ #endif #include <stdio.h> // sprintf +#include <cstdlib> #include <assert.h> #ifdef HAVE_IOSTREAM --- src/main.cc~ 2007-04-02 19:58:47.000000000 +0000 +++ src/main.cc 2007-04-02 19:58:55.000000000 +0000 @@ -39,6 +39,8 @@ # include "getopt.h" #endif +#include <cstdlib> + #include "main.h" #include "omniEvents.h" #include "naming.h" -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]