* .cvsignore: Add some generated files.
* glib/gmain.c: (g_main_context_iterate): Comment out cruft
after #endif to avoid gcc warning.
* gmodule/gmodule.c: (g_module_set_error_unduped): Remove
const from type to avoid gcc warning.
* gobject/gsignal.c: (g_signal_emitv): ifdef variable used
only if G_ENABLE_DEBUG to avoid gcc warning.
* gobject/gtype.c: (type_iface_vtable_init_Wm),
(type_iface_vtable_finalize_Wm): ifdef call needed only
if !G_DISABLE_ASSERT to avoid gcc warning.
* tests/testglib.c: (main): ifdef call needed only if
!G_DISABLE_ASSERT to avoid gcc warning. Maybe later we
should make the test to #undef G_DISABLE_ASSERT.
* tests/unicode-collate.c: Add include of <string.h> to
avoid gcc warning.
gobject-2.0-uninstalled.pc
glib-config-2.0
.saved
+sgml
+2001-07-11 Darin Adler <darin@bentspoon.com>
+
+ * .cvsignore: Add some generated files.
+
+ * glib/gmain.c: (g_main_context_iterate): Comment out cruft
+ after #endif to avoid gcc warning.
+ * gmodule/gmodule.c: (g_module_set_error_unduped): Remove
+ const from type to avoid gcc warning.
+ * gobject/gsignal.c: (g_signal_emitv): ifdef variable used
+ only if G_ENABLE_DEBUG to avoid gcc warning.
+ * gobject/gtype.c: (type_iface_vtable_init_Wm),
+ (type_iface_vtable_finalize_Wm): ifdef call needed only
+ if !G_DISABLE_ASSERT to avoid gcc warning.
+ * tests/testglib.c: (main): ifdef call needed only if
+ !G_DISABLE_ASSERT to avoid gcc warning. Maybe later we
+ should make the test to #undef G_DISABLE_ASSERT.
+ * tests/unicode-collate.c: Add include of <string.h> to
+ avoid gcc warning.
+
Wed Jul 11 11:13:50 2001 Owen Taylor <otaylor@redhat.com>
* glib/Makefile.am (libglib_1_3_la_SOURCES): Add gunicomp.h
+2001-07-11 Darin Adler <darin@bentspoon.com>
+
+ * .cvsignore: Add some generated files.
+
+ * glib/gmain.c: (g_main_context_iterate): Comment out cruft
+ after #endif to avoid gcc warning.
+ * gmodule/gmodule.c: (g_module_set_error_unduped): Remove
+ const from type to avoid gcc warning.
+ * gobject/gsignal.c: (g_signal_emitv): ifdef variable used
+ only if G_ENABLE_DEBUG to avoid gcc warning.
+ * gobject/gtype.c: (type_iface_vtable_init_Wm),
+ (type_iface_vtable_finalize_Wm): ifdef call needed only
+ if !G_DISABLE_ASSERT to avoid gcc warning.
+ * tests/testglib.c: (main): ifdef call needed only if
+ !G_DISABLE_ASSERT to avoid gcc warning. Maybe later we
+ should make the test to #undef G_DISABLE_ASSERT.
+ * tests/unicode-collate.c: Add include of <string.h> to
+ avoid gcc warning.
+
Wed Jul 11 11:13:50 2001 Owen Taylor <otaylor@redhat.com>
* glib/Makefile.am (libglib_1_3_la_SOURCES): Add gunicomp.h
+2001-07-11 Darin Adler <darin@bentspoon.com>
+
+ * .cvsignore: Add some generated files.
+
+ * glib/gmain.c: (g_main_context_iterate): Comment out cruft
+ after #endif to avoid gcc warning.
+ * gmodule/gmodule.c: (g_module_set_error_unduped): Remove
+ const from type to avoid gcc warning.
+ * gobject/gsignal.c: (g_signal_emitv): ifdef variable used
+ only if G_ENABLE_DEBUG to avoid gcc warning.
+ * gobject/gtype.c: (type_iface_vtable_init_Wm),
+ (type_iface_vtable_finalize_Wm): ifdef call needed only
+ if !G_DISABLE_ASSERT to avoid gcc warning.
+ * tests/testglib.c: (main): ifdef call needed only if
+ !G_DISABLE_ASSERT to avoid gcc warning. Maybe later we
+ should make the test to #undef G_DISABLE_ASSERT.
+ * tests/unicode-collate.c: Add include of <string.h> to
+ avoid gcc warning.
+
Wed Jul 11 11:13:50 2001 Owen Taylor <otaylor@redhat.com>
* glib/Makefile.am (libglib_1_3_la_SOURCES): Add gunicomp.h
+2001-07-11 Darin Adler <darin@bentspoon.com>
+
+ * .cvsignore: Add some generated files.
+
+ * glib/gmain.c: (g_main_context_iterate): Comment out cruft
+ after #endif to avoid gcc warning.
+ * gmodule/gmodule.c: (g_module_set_error_unduped): Remove
+ const from type to avoid gcc warning.
+ * gobject/gsignal.c: (g_signal_emitv): ifdef variable used
+ only if G_ENABLE_DEBUG to avoid gcc warning.
+ * gobject/gtype.c: (type_iface_vtable_init_Wm),
+ (type_iface_vtable_finalize_Wm): ifdef call needed only
+ if !G_DISABLE_ASSERT to avoid gcc warning.
+ * tests/testglib.c: (main): ifdef call needed only if
+ !G_DISABLE_ASSERT to avoid gcc warning. Maybe later we
+ should make the test to #undef G_DISABLE_ASSERT.
+ * tests/unicode-collate.c: Add include of <string.h> to
+ avoid gcc warning.
+
Wed Jul 11 11:13:50 2001 Owen Taylor <otaylor@redhat.com>
* glib/Makefile.am (libglib_1_3_la_SOURCES): Add gunicomp.h
+2001-07-11 Darin Adler <darin@bentspoon.com>
+
+ * .cvsignore: Add some generated files.
+
+ * glib/gmain.c: (g_main_context_iterate): Comment out cruft
+ after #endif to avoid gcc warning.
+ * gmodule/gmodule.c: (g_module_set_error_unduped): Remove
+ const from type to avoid gcc warning.
+ * gobject/gsignal.c: (g_signal_emitv): ifdef variable used
+ only if G_ENABLE_DEBUG to avoid gcc warning.
+ * gobject/gtype.c: (type_iface_vtable_init_Wm),
+ (type_iface_vtable_finalize_Wm): ifdef call needed only
+ if !G_DISABLE_ASSERT to avoid gcc warning.
+ * tests/testglib.c: (main): ifdef call needed only if
+ !G_DISABLE_ASSERT to avoid gcc warning. Maybe later we
+ should make the test to #undef G_DISABLE_ASSERT.
+ * tests/unicode-collate.c: Add include of <string.h> to
+ avoid gcc warning.
+
Wed Jul 11 11:13:50 2001 Owen Taylor <otaylor@redhat.com>
* glib/Makefile.am (libglib_1_3_la_SOURCES): Add gunicomp.h
+2001-07-11 Darin Adler <darin@bentspoon.com>
+
+ * .cvsignore: Add some generated files.
+
+ * glib/gmain.c: (g_main_context_iterate): Comment out cruft
+ after #endif to avoid gcc warning.
+ * gmodule/gmodule.c: (g_module_set_error_unduped): Remove
+ const from type to avoid gcc warning.
+ * gobject/gsignal.c: (g_signal_emitv): ifdef variable used
+ only if G_ENABLE_DEBUG to avoid gcc warning.
+ * gobject/gtype.c: (type_iface_vtable_init_Wm),
+ (type_iface_vtable_finalize_Wm): ifdef call needed only
+ if !G_DISABLE_ASSERT to avoid gcc warning.
+ * tests/testglib.c: (main): ifdef call needed only if
+ !G_DISABLE_ASSERT to avoid gcc warning. Maybe later we
+ should make the test to #undef G_DISABLE_ASSERT.
+ * tests/unicode-collate.c: Add include of <string.h> to
+ avoid gcc warning.
+
Wed Jul 11 11:13:50 2001 Owen Taylor <otaylor@redhat.com>
* glib/Makefile.am (libglib_1_3_la_SOURCES): Add gunicomp.h
+2001-07-11 Darin Adler <darin@bentspoon.com>
+
+ * .cvsignore: Add some generated files.
+
+ * glib/gmain.c: (g_main_context_iterate): Comment out cruft
+ after #endif to avoid gcc warning.
+ * gmodule/gmodule.c: (g_module_set_error_unduped): Remove
+ const from type to avoid gcc warning.
+ * gobject/gsignal.c: (g_signal_emitv): ifdef variable used
+ only if G_ENABLE_DEBUG to avoid gcc warning.
+ * gobject/gtype.c: (type_iface_vtable_init_Wm),
+ (type_iface_vtable_finalize_Wm): ifdef call needed only
+ if !G_DISABLE_ASSERT to avoid gcc warning.
+ * tests/testglib.c: (main): ifdef call needed only if
+ !G_DISABLE_ASSERT to avoid gcc warning. Maybe later we
+ should make the test to #undef G_DISABLE_ASSERT.
+ * tests/unicode-collate.c: Add include of <string.h> to
+ avoid gcc warning.
+
Wed Jul 11 11:13:50 2001 Owen Taylor <otaylor@redhat.com>
* glib/Makefile.am (libglib_1_3_la_SOURCES): Add gunicomp.h
+2001-07-11 Darin Adler <darin@bentspoon.com>
+
+ * .cvsignore: Add some generated files.
+
+ * glib/gmain.c: (g_main_context_iterate): Comment out cruft
+ after #endif to avoid gcc warning.
+ * gmodule/gmodule.c: (g_module_set_error_unduped): Remove
+ const from type to avoid gcc warning.
+ * gobject/gsignal.c: (g_signal_emitv): ifdef variable used
+ only if G_ENABLE_DEBUG to avoid gcc warning.
+ * gobject/gtype.c: (type_iface_vtable_init_Wm),
+ (type_iface_vtable_finalize_Wm): ifdef call needed only
+ if !G_DISABLE_ASSERT to avoid gcc warning.
+ * tests/testglib.c: (main): ifdef call needed only if
+ !G_DISABLE_ASSERT to avoid gcc warning. Maybe later we
+ should make the test to #undef G_DISABLE_ASSERT.
+ * tests/unicode-collate.c: Add include of <string.h> to
+ avoid gcc warning.
+
Wed Jul 11 11:13:50 2001 Owen Taylor <otaylor@redhat.com>
* glib/Makefile.am (libglib_1_3_la_SOURCES): Add gunicomp.h
}
else
LOCK_CONTEXT (context);
-#endif G_THREADS_ENABLED
+#endif /* G_THREADS_ENABLED */
if (!context->cached_poll_array)
{
}
static inline void
-g_module_set_error_unduped (const gchar *error)
+g_module_set_error_unduped (gchar *error)
{
g_static_private_set (&module_error_private, error, g_free);
errno = 0;
const GValue *param_values;
gpointer instance;
SignalNode *node;
+#ifdef G_ENABLE_DEBUG
guint i;
+#endif
g_return_if_fail (instance_and_params != NULL);
instance = g_value_peek_pointer (instance_and_params);
type_iface_vtable_init_Wm (TypeNode *iface,
TypeNode *node)
{
+#ifndef G_DISABLE_ASSERT
IFaceEntry *entry = type_lookup_iface_entry_L (node, iface);
+#endif
IFaceHolder *iholder = type_iface_retrive_holder_info_Wm (iface, NODE_TYPE (node));
GTypeInterface *vtable;
TypeNode *node,
GTypeInterface *vtable)
{
+#ifndef G_DISABLE_ASSERT
IFaceEntry *entry = type_lookup_iface_entry_L (node, iface);
+#endif
IFaceHolder *iholder = iface_node_get_holders_L (iface);
g_assert (entry && entry->vtable == vtable);
};
guint n_skip_root_checks = G_N_ELEMENTS (skip_root_checks);
+#ifndef G_DISABLE_ASSERT
guint16 gu16t1 = 0x44afU, gu16t2 = 0xaf44U;
guint32 gu32t1 = 0x02a7f109U, gu32t2 = 0x09f1a702U;
#ifdef G_HAVE_GINT64
guint64 gu64t1 = G_GINT64_CONSTANT(0x1d636b02300a7aa7U),
gu64t2 = G_GINT64_CONSTANT(0xa77a0a30026b631dU);
+#endif
#endif
const char hello[] = "Hello, World";
const int hellolen = sizeof (hello) - 1;
#include <glib.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
typedef struct {
const char *key;