Your message dated Thu, 21 Jan 2010 11:05:10 +0800
with message-id <[email protected]>
and subject line Re: Bug#504869: FTBFS with GCC 4.4: missing #include
has caused the Debian Bug report #504869,
regarding FTBFS with GCC 4.4: missing #include
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
504869: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504869
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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=\"@scim_locale...@\" 
> -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/



--- End Message ---
--- Begin Message ---
50_fix_FTBFS_with_gcc44.dpatch was added already, which include
<cstdio> according to changes in gcc-4.4

On Sat, Nov 8, 2008 at 2:16 AM, Martin Michlmayr <[email protected]> wrote:
> 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=\"@scim_locale...@\" 
>> -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/
>
>
>


--- End Message ---

Reply via email to