[blfs-support] Problems building gtkmm-2.24.4

Aniket Bhattacharyea aniketmail669 at gmail.com
Wed May 18 22:50:59 PDT 2016


While building gtkmm-2.24.4, I am getting these errors,


In file included from extra_defs_gen/generate_defs_gtk.cc:28:0:
/usr/include/glibmm-2.4/glibmm_generate_extra_defs/generate_extra_defs.h:29:7:
error: expected nested-name-specifier before 'GTypeIsAPointerFunc'
 using GTypeIsAPointerFunc = bool(*)(GType gtype);
       ^
/usr/include/glibmm-2.4/glibmm_generate_extra_defs/generate_extra_defs.h:38:35:
error: 'GTypeIsAPointerFunc' has not been declared
 std::string get_defs(GType gtype, GTypeIsAPointerFunc is_a_pointer_func =
gtype_is_a_pointer);
                                   ^
/usr/include/glibmm-2.4/glibmm_generate_extra_defs/generate_extra_defs.h:38:93:
error: invalid conversion from 'bool (*)(GType) {aka bool (*)(long unsigned
int)}' to 'int' [-fpermissive]
 std::string get_defs(GType gtype, GTypeIsAPointerFunc is_a_pointer_func =
gtype_is_a_pointer);


A lot of similar lines of errors, and then, a lot of lines saying


extra_defs_gen/generate_defs_gtk.cc:45:44: error: invalid conversion from
'bool (*)(GType) {aka bool (*)(long unsigned int)}' to 'int' [-fpermissive]
             << get_defs( GDK_TYPE_DRAWABLE )
                                            ^
extra_defs_gen/generate_defs_gtk.cc:46:38: error: invalid conversion from
'bool (*)(GType) {aka bool (*)(long unsigned int)}' to 'int' [-fpermissive]
             << get_defs( GDK_TYPE_GC )
                                      ^


I noticed that the error is coming from glibmm, so I updated glibmm, but
that didn't help.

Any help is greatly appreciate


*With warm regards,*
*Yours Aniket*
*Contact: +919831834052*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-support/attachments/20160519/784dcd11/attachment.html>


More information about the blfs-support mailing list