Package: libcdio
Version: 0.78.2+dfsg1-2
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 libcdio_0.78.2+dfsg1-2 on em64t by sbuild/amd64 0.53
...
> Making all in cdio++
> make[4]: Entering directory `/build/tbm/libcdio-0.78.2+dfsg1/lib/cdio++'
> if /bin/sh ../../libtool --tag=CXX --mode=compile x86_64-linux-gnu-g++ 
> -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/    -g -O2 -MT iso9660.lo -MD 
> -MP -MF ".deps/iso9660.Tpo" -c -o iso9660.lo iso9660.cpp; \
>       then mv -f ".deps/iso9660.Tpo" ".deps/iso9660.Plo"; else rm -f 
> ".deps/iso9660.Tpo"; exit 1; fi
> mkdir .libs
>  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/ -g -O2 
> -MT iso9660.lo -MD -MP -MF .deps/iso9660.Tpo -c iso9660.cpp  -fPIC -DPIC -o 
> .libs/iso9660.o
> In file included from iso9660.cpp:20:
> ../../include/cdio++/iso9660.hpp: In copy constructor 
> 'ISO9660::Stat::Stat(const ISO9660::Stat&)':
> ../../include/cdio++/iso9660.hpp:129: error: 'free' was not declared in this 
> scope
> ../../include/cdio++/iso9660.hpp:132: error: 'calloc' was not declared in 
> this scope
> ../../include/cdio++/iso9660.hpp: In member function 'const ISO9660::Stat& 
> ISO9660::Stat::operator=(const ISO9660::Stat&)':
> ../../include/cdio++/iso9660.hpp:138: error: 'free' was not declared in this 
> scope
> ../../include/cdio++/iso9660.hpp: In destructor 'ISO9660::Stat::~Stat()':
> ../../include/cdio++/iso9660.hpp:144: error: 'free' was not declared in this 
> scope
> make[4]: *** [iso9660.lo] Error 1
> make[4]: Leaving directory `/build/tbm/libcdio-0.78.2+dfsg1/lib/cdio++'
> make[3]: *** [all-recursive] Error 1

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