Package: mysql-gui-tools
Version: 5.0r12-1
User: [EMAIL PROTECTED]
Usertags: ftbfs-gcc-4.4
Tags: patch

Your package fails to build with the upcoming GCC 4.4.  Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.

GCC 4.4 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-snapshot from unstable.

> Automatic build of mysql-gui-tools_5.0r12-1 on em64t by sbuild/amd64 0.53
...
>  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../ftgl/include 
> -I../include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
> -I/usr/include/libxml2 -I/usr/include/freetype2 -DUSE_FONTCONFIG -g -O2 -Wall 
> -Wall -Wno-switch-enum -Wno-switch -c myx_gc_utilities.cpp -o 
> myx_gc_utilities.o >/dev/null 2>&1
> /bin/sh ../../../libtool --tag=CXX --mode=compile x86_64-linux-gnu-g++ 
> -DHAVE_CONFIG_H -I. -I. -I../../.. -I../ftgl/include -I../include 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2   
> -I/usr/include/freetype2 -DUSE_FONTCONFIG    -g -O2 -Wall -Wall 
> -Wno-switch-enum -Wno-switch  -c -o myx_gc_variant.lo myx_gc_variant.cpp
>  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../ftgl/include 
> -I../include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
> -I/usr/include/libxml2 -I/usr/include/freetype2 -DUSE_FONTCONFIG -g -O2 -Wall 
> -Wall -Wno-switch-enum -Wno-switch -c myx_gc_variant.cpp  -fPIC -DPIC -o 
> .libs/myx_gc_variant.o
> myx_gc_variant.cpp: In member function 'tagGCVariant::operator std::string()':
> myx_gc_variant.cpp:254: error: 'sprintf' was not declared in this scope
> myx_gc_variant.cpp:266: error: 'snprintf' was not declared in this scope
> make[5]: *** [myx_gc_variant.lo] Error 1
> make[5]: Leaving directory 
> `/build/tbm/mysql-gui-tools-5.0r12/mysql-gui-common/library/generic-canvas/source'

--- mysql-gui-common/library/generic-canvas/source/myx_gc_variant.cpp~  
2008-11-14 10:34:02.000000000 +0000
+++ mysql-gui-common/library/generic-canvas/source/myx_gc_variant.cpp   
2008-11-14 10:34:09.000000000 +0000
@@ -23,6 +23,8 @@
 #include "myx_gc_variant.h"
 #include "myx_gc_datatypes.h"
 
+#include <cstdio>
+
 
//----------------------------------------------------------------------------------------------------------------------
 
 tagGCVariant& tagGCVariant::operator = (const tagGCVariant& other)


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