mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-19 23:28:54 +02:00
Add some generated files.
* .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.
This commit is contained in:
@@ -385,11 +385,13 @@ main (int argc,
|
||||
};
|
||||
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;
|
||||
|
Reference in New Issue
Block a user