Package: qtads
Version: 1.6c-2
Usertags: ftbfs-gcc-4.3
Tags: patch

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.

> Automatic build of qtads_1.6c-2 on em64t by sbuild/amd64 0.53
...
> g++ -c -pipe -w -g -Wall -O2 -fno-strict-aliasing -D_REENTRANT  -DQT_NO_CHECK 
> -DQT_NO_DEBUG -DRUNFAST -DTROLLTECH_QT -DVMGLOB_VARS -DQT_CLEAN_NAMESPACE 
> -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT 
> -I/usr/share/qt3/mkspecs/default -I. -Iforms -Isrc -Itads2 -Itads3 
> -I/usr/include/qt3 -Itmp/ -Itmp/ -o obj/osqt.o src/osqt.cc
> src/osqt.cc: In function 'void os_rand(long int*)':
> src/osqt.cc:539: error: 'time_t' is not a member of 'std'
> src/osqt.cc:539: error: expected `;' before 't'
> src/osqt.cc:542: error: 't' was not declared in this scope
> src/osqt.cc:542: error: expected type-specifier
> src/osqt.cc:542: error: expected `>'
> src/osqt.cc:542: error: expected `('
> src/osqt.cc:542: error: 'time_t' is not a member of 'std'
> src/osqt.cc:542: error: expected `)' before '{' token
> make[1]: *** [obj/osqt.o] Error 1
> make[1]: Leaving directory `/build/tbm/qtads-1.6c'
> make: *** [debian/stamp-makefile-build] Error 2
> dpkg-buildpackage: failure: debian/rules build gave error exit status 2
> ******************************************************************************
> Build finished at 20071207-2021

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