Package: libcxxtools-dev
Version: 1.4.3.6-1
Severity: important
Tags: ftbfs-gcc-4.3

This is common problem already reported for other packages by
Martin Michlmayr <[EMAIL PROTECTED]>, so I'm just using using
his bug description here too:

Your package causes other packages to fail 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.

Anyway, I realize I filed such a bug before, but GCC has changed
again... but there shouldn't be any new issues new that GCC 4.3 is
getting close.



>/usr/include/cxxtools/arg.h: In member function 'bool
cxxtools::Arg<T>::set(int&, char**, const char*)':
>/usr/include/cxxtools/arg.h:171: error: there are no arguments to
'strcmp' that depend on a template parameter, so a declaration of
'strcmp' must be available
>/usr/include/cxxtools/arg.h:171: error: (if you use '-fpermissive', G++
will accept your code, but allowing the use of an undeclared name is
deprecated)
>/usr/include/cxxtools/arg.h: In member function 'bool
cxxtools::Arg<bool>::set(int&, char**, const char*)':
>/usr/include/cxxtools/arg.h:431: error: 'strcmp' was not declared in
this scope
>/usr/include/cxxtools/arg.h: In member function 'bool
cxxtools::Arg<const char*>::set(int&, char**, const char*, const char*)':
>/usr/include/cxxtools/arg.h:541: error: 'strcmp' was not declared in
this scope
>/usr/include/cxxtools/arg.h: In member function 'bool
cxxtools::Arg<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >::set(int&, char**, const char*)':
>/usr/include/cxxtools/arg.h:678: error: 'strcmp' was not declared in
this scope


So there should at least be an #include for <string.h> in arg.h, but
there might be other issues too.

Tobias Grimm

-= The Debian VDR Packaging Team =-
http://alioth.debian.org/projects/pkg-vdr-dvb/


--- System information. ---
Architecture: i386
Kernel: Linux 2.6.22-2-k7

Debian Release: experimental


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to