Package: pfstools
Version: 1.6.2-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 pfstools_1.6.2-1 on em64t by sbuild/amd64 0.53
...
> make[4]: Entering directory `/build/tbm/pfstools-1.6.2/src/pfs'
> if x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -fPIC -O2 -Wall   
> -MT libpfs_a-pfs.o -MD -MP -MF ".deps/libpfs_a-pfs.Tpo" \
>         -c -o libpfs_a-pfs.o `test -f 'pfs.cpp' || echo './'`pfs.cpp; \
>       then mv -f ".deps/libpfs_a-pfs.Tpo" ".deps/libpfs_a-pfs.Po"; \
>       else rm -f ".deps/libpfs_a-pfs.Tpo"; exit 1; \
>       fi
> pfs.cpp: In destructor 'virtual pfs::ChannelImpl::~ChannelImpl()':
> pfs.cpp:265: error: 'free' was not declared in this scope
> pfs.cpp: In member function 'pfs::Frame* pfs::DOMIOImpl::readFrame(FILE*)':
> pfs.cpp:593: warning: comparison between signed and unsigned integer 
> expressions
> pfs.cpp: In member function 'void pfs::DOMIOImpl::writeFrame(pfs::Frame*, 
> FILE*)':
> pfs.cpp:631: warning: format '%d' expects type 'int', but argument 3 has type 
> 'size_t'
> pfs.h: In copy constructor 'pfs::SelfDestructPtr<T>::SelfDestructPtr(const 
> pfs::SelfDestructPtr<T>&) [with T = pfs::TagIterator]':
> pfs.cpp:198:   instantiated from here
> pfs.h:68: warning: 'pfs::SelfDestructPtr<pfs::TagIterator>::itsOwn' will be 
> initialized after
> pfs.h:67: warning:   'pfs::TagIterator* 
> pfs::SelfDestructPtr<pfs::TagIterator>::ptr'
> pfs.h:74: warning:   when initialized here
> pfs.h: In copy constructor 'pfs::SelfDestructPtr<T>::SelfDestructPtr(const 
> pfs::SelfDestructPtr<T>&) [with T = pfs::ChannelIterator]':
> pfs.cpp:487:   instantiated from here
> pfs.h:68: warning: 'pfs::SelfDestructPtr<pfs::ChannelIterator>::itsOwn' will 
> be initialized after
> pfs.h:67: warning:   'pfs::ChannelIterator* 
> pfs::SelfDestructPtr<pfs::ChannelIterator>::ptr'
> pfs.h:74: warning:   when initialized here
> make[4]: *** [libpfs_a-pfs.o] Error 1
> make[4]: Leaving directory `/build/tbm/pfstools-1.6.2/src/pfs'

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