Package: cxxtools
Version: 1.4.3.6-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://gcc.gnu.org/gcc-4.3/porting_to.html

You can reproduce this problem with gcc-4.3 or gcc-snapshot from
unstable.

> Automatic build of cxxtools_1.4.3.6-1 on em64t by sbuild/amd64 0.53
...
> /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. 
> -I../include/cxxtools -I../include    -pthread -g -Wall -O2 -c -o 
> libcxxtools_la-net.lo `test -f 'net.cpp' || echo './'`net.cpp
>  g++ -DHAVE_CONFIG_H -I. -I. -I. -I../include/cxxtools -I../include -pthread 
> -g -Wall -O2 -c net.cpp  -fPIC -DPIC -o .libs/libcxxtools_la-net.o
> net.cpp: In member function 'void cxxtools::net::Socket::setTimeout(int)':
> net.cpp:94: warning: suggest parentheses around && within ||
> net.cpp: In constructor 'cxxtools::net::Addrinfo::Addrinfo(const 
> std::string&, short unsigned int)':
> net.cpp:152: error: 'memset' was not declared in this scope
> make[3]: *** [libcxxtools_la-net.lo] Error 1
> make[3]: Leaving directory `/build/tbm/cxxtools-1.4.3.6/src'
> make[2]: *** [all] Error 2

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