Package: glob2
Version: 0.8.23-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 glob2_0.8.23-1 on em64t by sbuild/amd64 0.53
...
> make[4]: Entering directory `/build/tbm/glob2-0.8.23/libgag/src'
> if x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/SDL 
> -D_GNU_SOURCE=1 -D_REENTRANT -I./../include/  -I/usr/include/SDL 
> -D_GNU_SOURCE=1 -D_REENTRANT  -Wall -g -O2 -Wall -MT GraphicContext.o -MD -MP 
> -MF ".deps/GraphicContext.Tpo" -c -o GraphicContext.o GraphicContext.cpp; \
>       then mv -f ".deps/GraphicContext.Tpo" ".deps/GraphicContext.Po"; else 
> rm -f ".deps/GraphicContext.Tpo"; exit 1; fi
> In file included from GraphicContext.cpp:22:
> ./../include/FileManager.h:125: error: 'time_t' in namespace 'std' does not 
> name a type
> ./../include/FileManager.h:127: error: 'time_t' in namespace 'std' does not 
> name a type
> GraphicContext.cpp: In member function 'void 
> GAGCore::GLState::checkExtensions()':
> GraphicContext.cpp:146: warning: suggest explicit braces to avoid ambiguous 
> 'else'
> make[4]: *** [GraphicContext.o] Error 1
> make[4]: Leaving directory `/build/tbm/glob2-0.8.23/libgag/src'

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