Package: cegui-mk2
Version: 0.6.2-1
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-4.4
Tags: patch

Your package fails to build with GCC 4.4, which has cleaned up some more
C++ headers.  You always have to #include headers directly and cannot
rely for things to be included indirectly.

You can reproduce this problem with gcc-4.4/g++-4.4 from unstable.

> Automatic build of cegui-mk2_0.6.2-1 on em64t by sbuild/amd64 0.53
...
> /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
> -I../include -I../include -I.. -I/usr/include/freetype2        -g -O2 -g 
> -Wall -O2 -c -o libCEGUIBase_la-CEGUIDynamicModule.lo `test -f 
> 'CEGUIDynamicModule.cpp' || echo './'`CEGUIDynamicModule.cpp
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I.. 
> -I/usr/include/freetype2 -g -O2 -g -Wall -O2 -c CEGUIDynamicModule.cpp  -fPIC 
> -DPIC -o .libs/libCEGUIBase_la-CEGUIDynamicModule.o
> CEGUIDynamicModule.cpp: In constructor 
> 'CEGUI::DynamicModule::DynamicModule(const CEGUI::String&)':
> CEGUIDynamicModule.cpp:96: error: 'snprintf' was not declared in this scope
> make[2]: *** [libCEGUIBase_la-CEGUIDynamicModule.lo] Error 1
> make[2]: Leaving directory 
> `/build/tbm/cegui-mk2-0.6.2/build-tree/cegui_mk2/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/build/tbm/cegui-mk2-0.6.2/build-tree/cegui_mk2'
> make: *** [debian/stamp-makefile-build] Error 2

--- cegui_mk2/src/CEGUIDynamicModule.cpp~       2009-05-16 11:20:28.000000000 
+0000
+++ cegui_mk2/src/CEGUIDynamicModule.cpp        2009-05-16 11:21:15.000000000 
+0000
@@ -34,6 +34,8 @@
 #include "CEGUIString.h"
 #include "CEGUIExceptions.h"
 
+#include <cstdio>
+
 #if defined(__WIN32__) || defined(_WIN32)
 #   if defined(_MSC_VER)
 #       pragma warning(disable : 4552)  // warning: operator has no effect; 
expected operator with side-effect

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to