Bug#417332: compiling with gcc-4.3
Hi,
the patch submitted by tbm is not sufficient to compile the package
with gcc-snapshot (I just tried with version 20071020-1) :
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libicq2000 -I/usr/lib/sigc++-1.0/include -I/usr/include/sigc++-1.0 -O2 -Wall -c socket.cpp -fPIC -DPIC -o .libs/socket.lo
socket.cpp: In constructor 'TCPSocket::TCPSocket()':
socket.cpp:70: error: 'memset' was not declared in this scope
socket.cpp: In member function 'bool TCPSocket::Recv(Buffer&)':
socket.cpp:206: error: 'strerror' was not declared in this scope
make[3]: *** [socket.lo] Error 1
make[3]: Leaving directory `/home/rt/debian/packages/qa/libicq2000/libicq2000-0.3.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rt/debian/packages/qa/libicq2000/libicq2000-0.3.2'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/home/rt/debian/packages/qa/libicq2000/libicq2000-0.3.2'
make: *** [build-stamp] Error 2
-Ralf.
Reply to: