Package: scim-bridge
Version: 0.4.14-2
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 scim-bridge_0.4.14-2 on em64t by sbuild/amd64 0.53
...
> make[3]: Entering directory `/build/tbm/scim-bridge-0.4.14/agent'
> g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../common -DSCIM_LOCALEDIR=\"@[EMAIL 
> PROTECTED]" -DSCIM_ICONDIR=\"/usr/share/scim/icons\" 
> -DSCIM_KEYBOARD_ICON_FILE=\"/usr/share/scim/icons/keyboard.png\" 
> -DSCIM_LIBEXECDIR=\"/usr/lib/scim-1.0\" -DSCIM_VERSION=\"1.4.6\" 
> -DGETTEXT_PACKAGE=\"scim\"   -I/usr/include/scim-1.0   -Wall -pipe -g -O2 -MT 
> scim_bridge-scim-bridge-agent-application.o -MD -MP -MF 
> .deps/scim_bridge-scim-bridge-agent-application.Tpo -c -o 
> scim_bridge-scim-bridge-agent-application.o `test -f 
> 'scim-bridge-agent-application.cpp' || echo 
> './'`scim-bridge-agent-application.cpp
> scim-bridge-agent-application.cpp: In function 'int main(int, char**)':
> scim-bridge-agent-application.cpp:72: error: 'EOF' was not declared in this 
> scope
> make[3]: *** [scim_bridge-scim-bridge-agent-application.o] Error 1
> make[3]: Leaving directory `/build/tbm/scim-bridge-0.4.14/agent'
> make[2]: *** [all-recursive] Error 1

--- agent/scim-bridge-agent-application.cpp~    2008-11-07 18:10:36.000000000 
+0000
+++ agent/scim-bridge-agent-application.cpp     2008-11-07 18:10:45.000000000 
+0000
@@ -19,6 +19,7 @@
 
 #include <errno.h>
 #include <getopt.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>

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