Package: pekwm
Version: 0.1.8-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 pekwm_0.1.8-1 on em64t by sbuild/amd64 0.53
...
> mv -f .deps/PImageNativeLoaderPng.Tpo .deps/PImageNativeLoaderPng.Po
> x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..     -g -O2   
> -I/usr/include/freetype2   -I/usr/include/libpng12     
> -DSYSCONFDIR=\"/etc//pekwm\" -DDATADIR=\"/usr/share\" -MT 
> PImageNativeLoaderXpm.o -MD -MP -MF .deps/PImageNativeLoaderXpm.Tpo -c -o 
> PImageNativeLoaderXpm.o PImageNativeLoaderXpm.cc
> PImageNativeLoaderXpm.cc: In member function 'unsigned char* 
> PImageNativeLoaderXpm::createXpmToRgbaTable(XpmImage*)':
> PImageNativeLoaderXpm.cc:130: error: 'sscanf' was not declared in this scope
> make[3]: *** [PImageNativeLoaderXpm.o] Error 1
> make[3]: Leaving directory `/build/tbm/pekwm-0.1.8/src'

--- src/PImageNativeLoaderXpm.cc~       2008-11-13 18:51:42.000000000 +0000
+++ src/PImageNativeLoaderXpm.cc        2008-11-13 18:51:47.000000000 +0000
@@ -14,6 +14,7 @@
 
 #include "PImageNativeLoaderXpm.hh"
 
+#include <cstdio>
 #include <iostream>
 #include <cstring>
 

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