Missing-prototypes for _register_type functions
I am not sure whether this is a vala bug. This problem was found when compiling anjuta. Since _register_type functions are generated by the vala compiler and it cannot be found in the vala source code, I report the bug here. If it turns out it is not a vala bug, please move it to anjuta.
gmake[3]: Entering directory '/home/lantw44/gnome/build/anjuta/plugins/language-support-vala'
CC locator.lo
CC plugin.lo
CC provider.lo
CC report.lo
locator.c:784:1: error: no previous prototype for function 'block_locator_register_type' [-Werror,-Wmissing-prototypes]
block_locator_register_type (GTypeModule * module)
^
1 error generated.
gmake[3]: *** [Makefile:660: locator.lo] Error 1
gmake[3]: *** Waiting for unfinished jobs....
provider.c:1442:1: error: no previous prototype for function 'vala_provider_register_type' [-Werror,-Wmissing-prototypes]
vala_provider_register_type (GTypeModule * module)
^
1 error generated.
gmake[3]: *** [Makefile:660: provider.lo] Error 1
report.c:873:1: error: no previous prototype for function 'anjuta_report_register_type' [-Werror,-Wmissing-prototypes]
anjuta_report_register_type (GTypeModule * module)
^
1 error generated.
gmake[3]: *** [Makefile:660: report.lo] Error 1
gmake[3]: Leaving directory '/home/lantw44/gnome/build/anjuta/plugins/language-support-vala'