Package: cuyo
Version: 2.~-1.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 cuyo_2.~-1.1-1 on em64t by sbuild/amd64 0.53
...
> x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..    -I/usr/include/SDL 
> -D_GNU_SOURCE=1 -D_REENTRANT -DPKGDATADIR=\"/usr/share/games/cuyo\" -Wall -W 
> -ansi -pedantic -g -O2 -c -o main.o main.cpp
> In file included from main.cpp:19:
> stringzeug.h:77: error: 'va_list' has not been declared
> make[1]: *** [main.o] Error 1

--- src/stringzeug.h~   2008-11-08 06:19:27.000000000 +0000
+++ src/stringzeug.h    2008-11-08 06:19:34.000000000 +0000
@@ -19,6 +19,7 @@
 #define STRINGZEUG_H
 
 #include <config.h>
+#include <cstdarg>
 #include <string>
 
 

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