Package: zeroc-icee
Version: 1.1.0-9
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. (Currently not available for i386, but for amd64, powerpc
and ia64.  I hope to have i386 binaries in the archive in ~3 weeks.)


> Automatic build of zeroc-icee_1.1.0-9 on em64t by sbuild/amd64 0.53
...
> c++ -c -I.. -I../../include  -DICE_API_EXPORTS  -m64 -ftemplate-depth-128 
> -Wall -D_REENTRANT -DHAVE_ENDIAN_H -DHAVE_LIMITS_H -fPIC -O3 -DNDEBUG 
> Buffer.cpp
> In file included from Buffer.cpp:10:
> ../../include/IceE/Buffer.h: In destructor 
> 'IceInternal::Buffer::Container::~Container()':
> ../../include/IceE/Buffer.h:68: error: 'free' was not declared in this scope
> ../../include/IceE/Handle.h: In member function 'T* 
> IceUtil::HandleBase<T>::operator->() const [with T = IceProxy::Ice::Object]':
> ../../include/IceE/Proxy.h:316:   instantiated from here
> ../../include/IceE/Handle.h:46: warning: deprecated conversion from string 
> constant to 'char*'

--- include/IceE/Buffer.h~      2007-04-04 14:51:54.000000000 +0000
+++ include/IceE/Buffer.h       2007-04-04 14:52:01.000000000 +0000
@@ -11,6 +11,7 @@
 #define ICEE_BUFFER_H
 
 #include <IceE/Config.h>
+#include <cstdlib>
 
 #define ICE_SMALL_MESSAGE_BUFFER_OPTIMIZATION
 #define ICE_BUFFER_FIXED_SIZE 64
--- test/IceE/custom/MyByteSeq.cpp~     2007-04-04 15:01:46.000000000 +0000
+++ test/IceE/custom/MyByteSeq.cpp      2007-04-04 15:01:53.000000000 +0000
@@ -8,6 +8,7 @@
 // **********************************************************************
 
 #include <MyByteSeq.h>
+#include <cstdlib>
 
 MyByteSeq::MyByteSeq()
     : _size(0),

-- 
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