Package: libwibble
Version: 0.1.22
User: [EMAIL PROTECTED]
Usertags: ftbfs-gcc-4.4
Tags: patch
Severity: important

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.

This also breaks the build of other packages (e.g. goplay and
debtags-edit).

> cd /build/tbm/libwibble-0.1.22/obj-x86_64-linux-gnu/wibble && /usr/bin/g++    
> -g -O2 -g -Wall -O2 -I/build/tbm/libwibble-0.1.22/wibble/.. 
> -I/build/tbm/libwibble-0.1.22/obj-x86_64-linux-gnu/wibble/..   -fPIC -o 
> CMakeFiles/wibble.dir/exception.o -c 
> /build/tbm/libwibble-0.1.22/wibble/exception.cpp
> In file included from /build/tbm/libwibble-0.1.22/wibble/../wibble/test.h:3,
>                  from 
> /build/tbm/libwibble-0.1.22/wibble/../wibble/exception.h:25,
>                  from /build/tbm/libwibble-0.1.22/wibble/exception.cpp:20:
> /build/tbm/libwibble-0.1.22/wibble/../wibble/string.h: In function 
> 'std::string wibble::str::fmt(std::string, ...)':
> /build/tbm/libwibble-0.1.22/wibble/../wibble/string.h:63: error: 'vasprintf' 
> was not declared in this scope
> make[3]: *** [wibble/CMakeFiles/wibble.dir/exception.o] Error 1
> make[3]: Leaving directory `/build/tbm/libwibble-0.1.22/obj-x86_64-linux-gnu'

--- wibble/string.h~    2008-11-07 20:05:57.000000000 +0000
+++ wibble/string.h     2008-11-07 20:06:03.000000000 +0000
@@ -26,6 +26,7 @@
 #include <wibble/sfinae.h>
 
 #include <cstdarg>
+#include <cstdio>
 #include <string>
 #include <set>
 #include <vector>

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