[anjuta-devel] jhbuild compile error



Hi,

I'm encountering some problems trying to compile the new jhbuild plugin

make[3]: Entering directory `/home/pescio/gitroot/anjuta/plugins/jhbuild'
  CC     plugin.lo
plugin.c:38:16: error: expected declaration specifiers or '...' before '(' token
plugin.c:38:38: error: unknown type name 'jhbuild_plugin_error'
plugin.c: In function 'run_jhbuild_env':
plugin.c:117:9: warning: passing argument 2 of 'g_set_error' makes integer from pointer without a cast [enabled by default]
In file included from /usr/include/glib-2.0/glib/gthread.h:35:0,
                 from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
                 from /usr/include/glib-2.0/glib.h:34,
                 from ../../libanjuta/anjuta-plugin.h:25,
                 from plugin.h:24,
                 from plugin.c:23:
/usr/include/glib-2.0/glib/gerror.h:75:10: note: expected 'GQuark' but argument is of type 'GQuark (*)(void)'
plugin.c: In function 'jhbuild_plugin_get_jhbuild_info':
plugin.c:190:9: warning: passing argument 2 of 'g_set_error_literal' makes integer from pointer without a cast [enabled by default]
In file included from /usr/include/glib-2.0/glib/gthread.h:35:0,
                 from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
                 from /usr/include/glib-2.0/glib.h:34,
                 from ../../libanjuta/anjuta-plugin.h:25,
                 from plugin.h:24,
                 from plugin.c:23:
/usr/include/glib-2.0/glib/gerror.h:81:10: note: expected 'GQuark' but argument is of type 'GQuark (*)(void)'
plugin.c: At top level:
plugin.c:36:15: warning: 'jhbuild_plugin_error_quark' used but never defined [enabled by default]
make[3]: *** [plugin.lo] Error 1


any clue?

Thanks and Regards,
Massimo




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]