Package: bitstormlite
Version: 0.2m-1.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 bitstormlite_0.2m-1.1 on em64t by sbuild/amd64 0.53
...
> make[3]: Entering directory `/build/tbm/bitstormlite-0.2m/src'
> x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT 
> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 
> -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb 
> -I/usr/include/libpng12 -I/usr/include/pixman-1   
> -DLOCALEDIR=\"/usr/share/locale\"    -g -O2 -MT bdict.o -MD -MP -MF 
> .deps/bdict.Tpo -c -o bdict.o bdict.cpp
> In file included from bdict.cpp:26:
> bdict.h: In member function 'virtual void CBDict::get_bestr(std::string&)':
> bdict.h:124: error: 'sprintf' was not declared in this scope
> make[3]: *** [bdict.o] Error 1
> make[3]: Leaving directory `/build/tbm/bitstormlite-0.2m/src'

--- src/bdict.h~        2008-11-08 07:35:51.000000000 +0000
+++ src/bdict.h 2008-11-08 07:35:58.000000000 +0000
@@ -26,6 +26,7 @@
 #ifndef _BDICT_H_
 #define _BDICT_H_
 
+#include <cstdio>
 #include <iostream>
 #include <string>
 #include <map>
--- src/BitStorm.h~     2008-11-08 07:36:09.000000000 +0000
+++ src/BitStorm.h      2008-11-08 07:36:19.000000000 +0000
@@ -26,6 +26,7 @@
 #ifndef _BITSTORM_H_
 #define _BITSTORM_H_
  
+ #include <stdint.h>
  #include <string>
  #include <list>
  #include <map>

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