Hi Marcel, On 01/10/2012 09:41 AM, Marcel Holtmann wrote: > CC plugins/mbpi.o > plugins/mbpi.c: In function ‘apn_start’: > plugins/mbpi.c:170: warning: passing argument 2 of ‘g_markup_parse_context_push’ discards qualifiers from pointer target type > /usr/include/glib-2.0/glib/gmarkup.h:115: note: expected ‘struct GMarkupParser *’ but argument is of type ‘const struct GMarkupParser *’ > plugins/mbpi.c:173: warning: passing argument 2 of ‘g_markup_parse_context_push’ discards qualifiers from pointer target type > /usr/include/glib-2.0/glib/gmarkup.h:115: note: expected ‘struct GMarkupParser *’ but argument is of type ‘const struct GMarkupParser *’ > plugins/mbpi.c:176: warning: passing argument 2 of ‘g_markup_parse_context_push’ discards qualifiers from pointer target type > /usr/include/glib-2.0/glib/gmarkup.h:115: note: expected ‘struct GMarkupParser *’ but argument is of type ‘const struct GMarkupParser *’ > plugins/mbpi.c: In function ‘apn_handler’: > plugins/mbpi.c:263: warning: passing argument 2 of ‘g_markup_parse_context_push’ discards qualifiers from pointer target type > /usr/include/glib-2.0/glib/gmarkup.h:115: note: expected ‘struct GMarkupParser *’ but argument is of type ‘const struct GMarkupParser *’ > plugins/mbpi.c:287: warning: passing argument 2 of ‘g_markup_parse_context_push’ discards qualifiers from pointer target type > /usr/include/glib-2.0/glib/gmarkup.h:115: note: expected ‘struct GMarkupParser *’ but argument is of type ‘const struct GMarkupParser *’ > plugins/mbpi.c: In function ‘provider_start’: > plugins/mbpi.c:423: warning: passing argument 2 of ‘g_markup_parse_context_push’ discards qualifiers from pointer target type > /usr/include/glib-2.0/glib/gmarkup.h:115: note: expected ‘struct GMarkupParser *’ but argument is of type ‘const struct GMarkupParser *’ > plugins/mbpi.c:425: warning: passing argument 2 of ‘g_markup_parse_context_push’ discards qualifiers from pointer target type > /usr/include/glib-2.0/glib/gmarkup.h:115: note: expected ‘struct GMarkupParser *’ but argument is of type ‘const struct GMarkupParser *’ > plugins/mbpi.c:427: warning: passing argument 2 of ‘g_markup_parse_context_push’ discards qualifiers from pointer target type > /usr/include/glib-2.0/glib/gmarkup.h:115: note: expected ‘struct GMarkupParser *’ but argument is of type ‘const struct GMarkupParser *’ > plugins/mbpi.c: In function ‘toplevel_gsm_start’: > plugins/mbpi.c:459: warning: passing argument 2 of ‘g_markup_parse_context_push’ discards qualifiers from pointer target type > /usr/include/glib-2.0/glib/gmarkup.h:115: note: expected ‘struct GMarkupParser *’ but argument is of type ‘const struct GMarkupParser *’ > plugins/mbpi.c:461: warning: passing argument 2 of ‘g_markup_parse_context_push’ discards qualifiers from pointer target type > /usr/include/glib-2.0/glib/gmarkup.h:115: note: expected ‘struct GMarkupParser *’ but argument is of type ‘const struct GMarkupParser *’ > plugins/mbpi.c: In function ‘toplevel_cdma_start’: > plugins/mbpi.c:493: warning: passing argument 2 of ‘g_markup_parse_context_push’ discards qualifiers from pointer target type > /usr/include/glib-2.0/glib/gmarkup.h:115: note: expected ‘struct GMarkupParser *’ but argument is of type ‘const struct GMarkupParser *’ > plugins/mbpi.c:495: warning: passing argument 2 of ‘g_markup_parse_context_push’ discards qualifiers from pointer target type > /usr/include/glib-2.0/glib/gmarkup.h:115: note: expected ‘struct GMarkupParser *’ but argument is of type ‘const struct GMarkupParser *’ > CC plugins/provision.o > CC plugins/cdma-provision.o > What glib version are you using? Mine defines g_markup_parse_context_push like this: void g_markup_parse_context_push (GMarkupParseContext *context, const GMarkupParser *parser, gpointer user_data); Regards, -Denis