GNOME Bugzilla – Bug 775446
generated code fails with -Werror=implicit-function-declaration
Last modified: 2016-12-02 09:00:36 UTC
I'm building gnome-builder in rawhide where -Werror=implicit-function-declaration got enabled just yesterday. The gnome-builder build is failing in a generated .c file with: vala-pack-plugin.c: In function 'peas_register_types': vala-pack-plugin.c:117:2: error: implicit declaration of function 'ide_vala_completion_register_type' [-Werror=implicit-function-declaration] The vala source for that is at https://git.gnome.org/browse/gnome-builder/tree/plugins/vala-pack/vala-pack-plugin.vala?h=GNOME_BUILDER_3_22_3
Created attachment 341168 [details] [review] codegen: Add function-prototypes for all register-type calls Make sure to match the list of called register-type calls and include implemented classes and interfaces.
Attachment 341168 [details] pushed as 6f75088 - codegen: Add function-prototypes for all register-type calls
Thanks. I can confirm this fixes it for me.