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*
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to