Lablgtk2 compilation issue

Salvati Sylvain <[email protected]> Mon, 26 Jul 2010 15:53:36 +0200
Newsgroups gmane.comp.lang.ocaml.lib.gtk
Message-ID <[email protected]>
Dear all,

I tried to compile lablgtk2 and I got a compilation error because of a
conflict with glib2:

ml_gobject.c:293: error: conflicting types for 'g_value_get_variant'
/opt/local/include/glib-2.0/gobject/gvaluetypes.h:230: error: previous
declaration of 'g_value_get_variant' was here

ml_gobject.c:381: error: conflicting types for 'g_value_set_variant'
/opt/local/include/glib-2.0/gobject/gvaluetypes.h:227: error: previous
declaration of 'g_value_set_variant' was here

I use a mac and the version of glib2 installed on my computer is glib2
2.24.1 (via macport).  Is this issue known? And is there a way to bypass
the problem?

Best,

Sylvain.