gparam.c error



Hi,

glib-1.3.13/gobject/gparam.c redefines macro G_PARAM_SPEC_CLASS defined in
glib-1.3.13/gobject/gparam.h without an undef which is considered as severe
error by xlc compiler.

since the redefinition is the same as the previous definition it can be
removed. below the patch (unified diff). 

could you fix it

----------- cut -----------
--- glib-1.3.13.org/gobject/gparam.c	Mon Nov 26 10:18:55 2001
+++ glib-1.3.13/gobject/gparam.c	Tue Feb 12 10:27:57 2002
@@ -30,7 +30,6 @@
 
 
 /* --- defines --- */
-#define G_PARAM_SPEC_CLASS(class)		(G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_PARAM, GParamSpecClass))
 #define	G_PARAM_USER_MASK			(~0 << G_PARAM_USER_SHIFT)
 #define PSPEC_APPLIES_TO_VALUE(pspec, value)	(G_TYPE_CHECK_VALUE_TYPE ((value), G_PARAM_SPEC_VALUE_TYPE (pspec)))
 #define	G_SLOCK(mutex)				g_static_mutex_lock (mutex)
----------- cut -----------

regards
-- 
Miroslaw Dobrzanski-Neumann

MOSAIC SOFTWARE AG
Base Development and Research
Tel +49-2225-882-291
Fax +49-2225-882-201
E-mail: mne mosaic-ag com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]