Package: crawl
Version: 2:0.4.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 crawl_2:0.4.1-1 on em64t by sbuild/amd64 0.53
...
> g++  -Iutil -I. -I/usr/include/lua5.1 -Iutil/sqlite -I/usr/include/ncursesw 
> -fsigned-char -DUNIX  -DCLUA_BINDINGS -O2 
> '-DSAVE_DIR_PATH="/var/games/crawl/"' 
> '-DDATA_DIR_PATH="/usr/share/games/crawl/"' -DUNICODE_GLYPHS  -o 
> util/levcomp.lex.o -c util/levcomp.lex.cc
> g++  -Iutil -I. -I/usr/include/lua5.1 -Iutil/sqlite -I/usr/include/ncursesw 
> -Wall -Wwrite-strings -Wshadow -pedantic -Wuninitialized -fsigned-char -DUNIX 
>  -DCLUA_BINDINGS -O2 '-DSAVE_DIR_PATH="/var/games/crawl/"' 
> '-DDATA_DIR_PATH="/usr/share/games/crawl/"' -DUNICODE_GLYPHS  -c abl-show.cc
> In file included from AppHdr.h:464,
>                  from abl-show.cc:24:
> ./externs.h:928: warning: declaration of 'info' shadows a global declaration
> ./externs.h:54: warning: shadowed declaration is here
> In file included from ./sqldbm.h:26,
>                  from database.h:27,
>                  from abl-show.cc:41:
> util/sqlite/sqlite3.h:84: error: 'uint64_t' does not name a type
> util/sqlite/sqlite3.h:574: error: 'sqlite_uint64' has not been declared
> abl-show.cc: In function 'bool activate_ability()':
> abl-show.cc:860: warning: suggest parentheses around '&&' within '||'

--- source/cio.cc~      2008-11-14 12:55:14.000000000 +0000
+++ source/cio.cc       2008-11-14 12:55:20.000000000 +0000
@@ -13,6 +13,7 @@
 #include "macro.h"
 #include "state.h"
 
+#include <cstdio>
 #include <queue>
 
 #ifdef UNIX
--- source/menu.h~      2008-11-14 12:58:44.000000000 +0000
+++ source/menu.h       2008-11-14 12:58:50.000000000 +0000
@@ -9,6 +9,7 @@
 #ifndef __MENU_H__
 #define __MENU_H__
 
+#include <cstdio>
 #include <string>
 #include <vector>
 #include <algorithm>

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