Package: zeroc-ice
Version: 3.3.0-12
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 zeroc-ice_3.3.0-12 on em64t by sbuild/amd64 0.53
...
> c++ -c -I.. -I../../include -DSLICE_API_EXPORTS  -m64 -ftemplate-depth-128 
> -Wall -D_REENTRANT -I/usr/include/nptl -D_REENTRANT -DHAVE_ENDIAN_H 
> -DHAVE_LIMITS_H -fPIC -g -O2 -DNDEBUG SignalHandler.cpp
> SignalHandler.cpp: In function 'void signalHandler(int)':
> SignalHandler.cpp:43: error: 'remove' was not declared in this scope
> make[3]: *** [SignalHandler.o] Error 1
> make[3]: Leaving directory `/build/tbm/zeroc-ice-3.3.0/cpp/src/Slice'

It's possible that this patch is incomplete and that there may be
other errors.

--- cpp/src/Slice/SignalHandler.cpp~    2008-11-13 19:06:27.000000000 +0000
+++ cpp/src/Slice/SignalHandler.cpp     2008-11-13 19:06:32.000000000 +0000
@@ -10,6 +10,7 @@
 #include <IceUtil/DisableWarnings.h>
 #include <Slice/SignalHandler.h>
 #include <vector>
+#include <cstdio>
 #include <cstdlib>
 
 #ifndef _WIN32

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to