conflicting types for 'g_value_get_variant'
Florent Monnier <[email protected]> Thu, 12 Aug 2010 21:00:01 +0200
| Newsgroups | gmane.comp.lang.ocaml.lib.gtk |
|---|---|
| Message-ID | <[email protected]> |
Hi, compiling lablgtk-2.14.1 : + gcc ...... ml_gobject.c ml_gobject.c:292: error: conflicting types for 'g_value_get_variant' /usr/include/glib-2.0/gobject/gvaluetypes.h:230: note: previous declaration of 'g_value_get_variant' was here ml_gobject.c:380: error: conflicting types for 'g_value_set_variant' /usr/include/glib-2.0/gobject/gvaluetypes.h:226: note: previous declaration of 'g_value_set_variant' was here if I rename g_value_get_variant() and g_value_set_variant() in ml_gobject.c (and appropriatly in src/gobject.ml) the compilation succeeds) The file "/usr/include/glib-2.0/gobject/gvaluetypes.h" belongs to: libglib2.0-devel-2.25.13-1mdv2011.0 -- Best Regards Florent