Package: pingus
Version: 0.7.2-3
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-4.4
Tags: patch

Your package fails to build with GCC 4.4, which has 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 or
gcc-4.4 from experimental.

> Automatic build of pingus_0.7.2-3 on em64t by sbuild/amd64 0.53
...
> g++ -o src/tinygettext/po_file_reader.o -c -D_GNU_SOURCE=1 -D_REENTRANT -I. 
> -Isrc -I/usr/include/SDL -I. -Isrc src/tinygettext/po_file_reader.cpp
> src/tinygettext/po_file_reader.cpp: In member function 'void 
> TinyGetText::POFileReader::add_token(const 
> TinyGetText::POFileReader::Token&)':
> src/tinygettext/po_file_reader.cpp:139: error: 'sscanf' was not declared in 
> this scope
> src/tinygettext/po_file_reader.cpp: In member function 'void 
> TinyGetText::POFileReader::tokenize_po(std::istream&)':
> src/tinygettext/po_file_reader.cpp:171: error: 'EOF' was not declared in this 
> scope
> scons: *** [src/tinygettext/po_file_reader.o] Error 1
> scons: building terminated because of errors.
> make: *** [build-stamp] Error 2

--- src/input/evdev_device.cpp~ 2009-04-26 21:01:12.000000000 +0000
+++ src/input/evdev_device.cpp  2009-04-26 21:01:18.000000000 +0000
@@ -25,6 +25,7 @@
 #include <stdexcept>
 #include <iostream>
 #include <errno.h>
+#include <cstdio>
 #include <cstring>
 
 #include "evdev_device.hpp"
--- src/tinygettext/po_file_reader.cpp~ 2009-04-26 20:59:32.000000000 +0000
+++ src/tinygettext/po_file_reader.cpp  2009-04-26 20:59:40.000000000 +0000
@@ -18,6 +18,7 @@
 //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 #include <config.h>
+#include <cstdio>
 #include <vector>
 #include <iconv.h>
 #include <errno.h>

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to