Package: centerim
Version: 4.22.1.20071022-1
Usertags: ftbfs-gcc-4.3

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).  There's some more information about this at
http://www.cyrius.com/journal/2007/05/10#gcc-4.3-include

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.

> Automatic build of centerim_4.22.1.20071022-1 on em64t by sbuild/amd64 0.53
...
> ../libicq2000/Contact.h:90: warning:   'ICQ2000::Language 
> ICQ2000::Contact::HomepageInfo::lang1'
> Contact.cpp:521: warning:   when initialized here
> mv -f .deps/Contact.Tpo .deps/Contact.Po
> x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../libicq2000 -I../    -Wall 
> -g -O1 -MT socket.o -MD -MP -MF .deps/socket.Tpo -c -o socket.o socket.cpp
> socket.cpp: In constructor 'ICQ2000::TCPSocket::TCPSocket()':
> socket.cpp:78: error: 'memset' was not declared in this scope
> socket.cpp: In member function 'bool 
> ICQ2000::TCPSocket::Recv(ICQ2000::Buffer&)':
> socket.cpp:219: error: 'strerror' was not declared in this scope
> socket.cpp: In member function 'void ICQ2000::TCPSocket::setBindHost(const 
> char*)':
> socket.cpp:227: error: 'memset' was not declared in this scope
> socket.cpp:228: error: 'strlen' was not declared in this scope
> socket.cpp: In member function 'void ICQ2000::TCPServer::setBindHost(const 
> char*)':
> socket.cpp:374: error: 'memset' was not declared in this scope
> socket.cpp:375: error: 'strlen' was not declared in this scope
> make[6]: *** [socket.o] Error 1
> make[6]: Leaving directory 
> `/build/tbm/centerim-4.22.1.20071022/libicq2000/src'

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