Package: mlterm
Version: 2.9.2-2
Severity: normal
Tags: patch

When building 'mlterm' on amd64/unstable with gcc-4.0,
I get the following error:

aux.c:632: warning: pointer targets in passing argument 1 of 
'register_module_info' differ in signedness
aux.c: At top level:
aux.c:1625: error: static declaration of 'aux_service' follows non-static 
declaration
aux.c:145: error: previous declaration of 'aux_service' was here

With the attached patch 'mlterm' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/mlterm-2.9.2/inputmethod/iiimf/aux.c 
./inputmethod/iiimf/aux.c
--- ../tmp-orig/mlterm-2.9.2/inputmethod/iiimf/aux.c    2005-03-01 
15:06:32.000000000 +0100
+++ ./inputmethod/iiimf/aux.c   2005-03-30 20:57:37.418806358 +0200
@@ -142,7 +142,7 @@
 KIK_LIST_TYPEDEF( aux_module_info_t) ;
 KIK_LIST_TYPEDEF( aux_id_info_t) ;
 
-extern aux_service_t  aux_service ;
+static aux_service_t  aux_service ;
 
 /* --- static variables --- */
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to