Subject: i18N (--enable-kanji) compile error

From: [email-masked]
Date: Tue, 7 Dec 1999 07:43:43 -0600 (CST)

Full_Name: HIROSE, Masaaki
Version: 2.3.10
CVS_Date: 
OS: linux 2.2.13
X_Server: XFree86 3.3.3.1
Submission from: (NULL) (202.247.161.220)

when ./configure --enable-kanji and make,
compile error occured.

fix patch is follow.

diff -uNr fvwm-2.3.10.orig/fvwm/add_window.c fvwm-2.3.10/fvwm/add_window.c
--- fvwm-2.3.10.orig/fvwm/add_window.c	Sat Nov 27 21:56:47 1999
+++ fvwm-2.3.10/fvwm/add_window.c	Tue Dec  7 10:57:26 1999
@@ -157,6 +157,10 @@
 void setup_window_name(FvwmWindow *tmp_win)
 {
   XTextProperty text_prop;
+#ifdef I18N_MB
+  char **list;
+  int num;
+#endif
 
   if ( XGetWMName(dpy, tmp_win->w, &text_prop) != 0 )
 #ifdef I18N_MB
@@ -1022,10 +1026,6 @@
   char right_buttons;
   extern FvwmWindow *colormap_win;
   extern Boolean PPosOverride;
-#ifdef I18N_MB
-  char **list;
-  int num;
-#endif
   int do_shade = 0;
   int do_maximize = 0;
   Bool used_sm = False;
diff -uNr fvwm-2.3.10.orig/modules/FvwmWinList/FvwmWinList.c
fvwm-2.3.10/modules/FvwmWinList/FvwmWinList.c
--- fvwm-2.3.10.orig/modules/FvwmWinList/FvwmWinList.c	Mon Nov 22 03:30:03
1999
+++ fvwm-2.3.10/modules/FvwmWinList/FvwmWinList.c	Tue Dec  7 11:42:38 1999
@@ -57,6 +57,15 @@
 
 #include <stdlib.h>
 
+#include "libs/Module.h"
+#include "libs/fvwmsignal.h"
+
+#include "FvwmWinList.h"
+#include "ButtonArray.h"
+#include "List.h"
+#include "Mallocs.h"
+#include "libs/Colorset.h"
+
 #ifdef I18N_MB
 #include <X11/Xlocale.h>
 #ifdef __STDC__
@@ -66,15 +75,6 @@
 #endif
 #define XDrawString(t,u,v,w,x,y,z)
XmbDrawString(t,u,ButtonFontset,v,w,x,y,z)
 #endif
-
-#include "libs/Module.h"
-#include "libs/fvwmsignal.h"
-
-#include "FvwmWinList.h"
-#include "ButtonArray.h"
-#include "List.h"
-#include "Mallocs.h"
-#include "libs/Colorset.h"
 
 #define MAX_NO_ICON_ACTION_LENGTH (MAX_MODULE_INPUT_TEXT_LEN - 100)

--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [email-masked].
To report problems, send mail to [email-masked]