Package: scim-bridge
Version: 0.4.10-1
Usertags: ftbfs-gcc-4.3
Tags: patch

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  Some background of this can be found at
http://gcc.gnu.org/PR28080

You can reproduce this problem with gcc-snapshot (20070326-1 or higher)
from unstable. (Currently not available for i386, but for amd64, powerpc
and ia64.  I hope to have i386 binaries in the archive in ~3 weeks.)


> Automatic build of scim-bridge_0.4.10-1 on coconut0 by sbuild/ia64 0.49
..
> scim-bridge-client-key-event-utility-qt.cpp: In function 'ScimBridgeKeyEvent* 
> scim_bridge_key_event_qt_to_bridge(const QKeyEvent*)':
> scim-bridge-client-key-event-utility-qt.cpp:243: warning: suggest parentheses 
> around comparison in operand of ^
> scim-bridge-client-key-event-utility-qt.cpp: In function 'XEvent* 
> scim_bridge_key_event_bridge_to_x11(const ScimBridgeKeyEvent*, Display*, 
> WId)':
> scim-bridge-client-key-event-utility-qt.cpp:277: error: 'malloc' was not 
> declared in this scope
> make[3]: *** [im_scim_bridge_la-scim-bridge-client-key-event-utility-qt.lo] 
> Error 1

--- client-qt/scim-bridge-client-key-event-utility-qt.cpp~      2007-04-04 
09:52:05.000000000 +0000
+++ client-qt/scim-bridge-client-key-event-utility-qt.cpp       2007-04-04 
09:52:10.000000000 +0000
@@ -19,6 +19,7 @@
 
 #include <sys/time.h>
 
+#include <cstdlib>
 #include <map>
 
 #include <qapplication.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