Glib / GObject (mostly) portability patch



additional to Windoze only fixes there remains one thing, where I would
like to hear your comments, as noted in a previous mail of mine

Subject: GMarkup: uninitialized var

At 23:26 31.10.00 +0100, Hans Breuer wrote:
>my compiler gives me an "used without being initialized" warning. Could
>someone please check if my suggested sollution is the right one?

Please could someone comment on this patch or does no answer simply mean
"commit it!" ?

Thanks in advance,
	Hans
diff --exclude-from=c:\util\tool\diff.ign -u -r from-cvs/glib/gobject/gboxed.c my-gtk/glib/gobject/gboxed.c
--- from-cvs/glib/gobject/gboxed.c	Thu Oct 26 00:33:26 2000
+++ my-gtk/glib/gobject/gboxed.c	Tue Oct 31 23:48:32 2000
@@ -22,7 +22,7 @@
 #include	"gvalue.h"
 #include	"gvaluecollector.h"
 
-
+#include	<string.h> /* memset */
 
 /* --- typedefs & structures --- */
 typedef struct
diff --exclude-from=c:\util\tool\diff.ign -u -r from-cvs/glib/gobject/gboxed.c my-gtk/glib/gobject/gboxed.c
--- from-cvs/glib/gobject/gboxed.c	Thu Oct 26 00:33:26 2000
+++ my-gtk/glib/gobject/gboxed.c	Tue Oct 31 23:48:32 2000
@@ -22,7 +22,7 @@
 #include	"gvalue.h"
 #include	"gvaluecollector.h"
 
-
+#include	<string.h> /* memset */
 
 /* --- typedefs & structures --- */
 typedef struct
-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to 
get along without it.                -- Dilbert


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