[kaffe] CVS kaffe (dalibor): Fixed build with gcc 2.9x again

Kaffe CVS cvs-commits at kaffe.org
Tue Mar 30 07:39:04 PST 2004


PatchSet 4599 
Date: 2004/03/30 15:15:19
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Fixed build with gcc 2.9x again

2004-03-30  Dalibor Topic <robilad at kaffe.org>

        * libraries/clib/awt/X/toolkit.h:
        (KAFFE_FONT_FUNC_DECL) Added missing space in variadic macro
        definition to fix build with gcc 2.9x.

Members: 
	ChangeLog:1.2176->1.2177 
	libraries/clib/awt/X/toolkit.h:1.28->1.29 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2176 kaffe/ChangeLog:1.2177
--- kaffe/ChangeLog:1.2176	Tue Mar 30 13:45:06 2004
+++ kaffe/ChangeLog	Tue Mar 30 15:15:19 2004
@@ -1,3 +1,9 @@
+2004-03-30  Dalibor Topic <robilad at kaffe.org>
+
+	* libraries/clib/awt/X/toolkit.h:
+	(KAFFE_FONT_FUNC_DECL) Added missing space in variadic macro 
+	definition to fix build with gcc 2.9x.
+
 2004-03-30  Peter Naulls <peter at chocky.org>
 
 	* config/config.alias:
Index: kaffe/libraries/clib/awt/X/toolkit.h
diff -u kaffe/libraries/clib/awt/X/toolkit.h:1.28 kaffe/libraries/clib/awt/X/toolkit.h:1.29
--- kaffe/libraries/clib/awt/X/toolkit.h:1.28	Fri Mar 26 22:58:43 2004
+++ kaffe/libraries/clib/awt/X/toolkit.h	Tue Mar 30 15:15:20 2004
@@ -668,9 +668,9 @@
 extern void* Java_java_awt_Toolkit_fntInitFont ( JNIEnv* env, jclass clazz, jstring jSpec, jint style, jint size );
 
 #ifdef KAFFE_I18N
-#define KAFFE_FONT_FUNC_DECL( ret, name, args... ) ret name( JNIEnv* env, jclass clazz, XOC xoc, ## args )
+#define KAFFE_FONT_FUNC_DECL( ret, name, args... ) ret name( JNIEnv* env, jclass clazz, XOC xoc , ## args )
 #else
-#define KAFFE_FONT_FUNC_DECL( ret, name, args... ) ret name( JNIEnv* env, jclass clazz, XFontStruct* fs, ## args )
+#define KAFFE_FONT_FUNC_DECL( ret, name, args... ) ret name( JNIEnv* env, jclass clazz, XFontStruct* fs , ## args )
 #endif
 
 extern KAFFE_FONT_FUNC_DECL( void, Java_java_awt_Toolkit_fntFreeFont );




More information about the kaffe mailing list