Package: slim
Version: 1.3.1-2
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-4.4/g++-4.4 from unstable.

> Automatic build of slim_1.3.1-2 on em64t by sbuild/amd64 0.53
...
> /usr/bin/g++ -Wall -I. -I/usr/include/freetype2 
> -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include 
> -DPACKAGE=\"slim\" -DVERSION=\"1.3.1\" -DPKGDATADIR=\"/usr/share/slim\" 
> -DSYSCONFDIR=\"/etc\" -DHAVE_SHADOW -DUSE_PAM -c app.cpp -o app.o
> app.cpp: In member function 'void App::CreateServerAuth()':
> app.cpp:1173: error: 'uint16_t' was not declared in this scope
> app.cpp:1173: error: expected ';' before 'word'
> app.cpp:1174: error: 'uint8_t' was not declared in this scope
> app.cpp:1174: error: expected ';' before 'hi'
> app.cpp:1180: error: 'word' was not declared in this scope
> app.cpp:1181: error: 'lo' was not declared in this scope
> app.cpp:1182: error: 'hi' was not declared in this scope
> make[1]: *** [app.o] Error 1

--- app.cpp~    2009-11-01 23:01:38.000000000 +0000
+++ app.cpp     2009-11-01 23:02:06.000000000 +0000
@@ -12,6 +12,7 @@
 
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <stdint.h>
 #include <unistd.h>
 #include <fcntl.h>
 #include <cstring>

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