Package: scim-kmfl-imengine
Version: 0.9.8-1
User: [email protected]
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 scim-kmfl-imengine_0.9.8-1 on em64t by sbuild/amd64 0.53
...
>  g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/scim-1.0 
> -DSCIM_ICONDIR=\"/usr/share/scim/icons\" -DSCIM_1_4_0 
> -DSCIM_KMFL_IMENGINE_MODULE_DATADIR=\"/usr/share/scim/kmfl\" -Wall -O1 -g -g 
> -O2 -g -Wall -O2 -c xkbmap.cpp  -fPIC -DPIC -o .libs/kmfl_la-xkbmap.o
> xkbmap.cpp: In member function 'int Xkbmap::applyRules()':
> xkbmap.cpp:243: warning: deprecated conversion from string constant to 'char*'
> xkbmap.cpp:255: error: 'sprintf' was not declared in this scope
> make[3]: *** [kmfl_la-xkbmap.lo] Error 1
> make[3]: Leaving directory `/build/tbm/scim-kmfl-imengine-0.9.8/src'

--- src/xkbmap.cpp~     2009-04-29 21:03:59.000000000 +0000
+++ src/xkbmap.cpp      2009-04-29 21:04:08.000000000 +0000
@@ -20,6 +20,7 @@
  *

  */

 
+#include <stdio.h>
 #include <stdlib.h>
 #include <iostream>
 #include <iomanip>

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