On Thu, May 19, 2016 at 11:20:59AM +0530, Aniket Bhattacharyea wrote:
> 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 )
>                                             ^

I'll just note that after the first error, all bets are off.
Sometimes, the later errors are meaningful, but more usually it is
like any other compilation failure - one real error, then just
random messages.
> 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
> 

I don't have any obvious suggestons: I built gtkmm-2.24.4 on
glibmm-2.28.1 a week or two ago, using LFS from April 16th plus
4.5.2 kernel headers, and BLFS from, I think, April 27th.  That
was on x86_64 (and gcc-5.3).  We don't know which architecture
(32/64) you are using, nor which versions of LFS and BLFS - but
perhaps something has got out of sync (e.g. newer version of -mm
packages, but older versions of glib and gtk) ?  Also, you say you
updated glibmm, but not which newer version you used (nor which
older version, although the older version probably does not matter
unless it implies older glib and gtk).

> 
> *With warm regards,*
> *Yours Aniket*

I don't think that posting a phone number to a public mailing list
is usually a good idea :)  Most of us get enough bogus phone calls
without publicising our numbers.

ĸen
-- 
This email was written using 100% recycled letters.
-- 
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