:: Re: [DNG] [SOLVED] bug in simple-ne…
Etusivu
Poista viesti
Vastaa
Lähettäjä: aitor
Päiväys:  
Vastaanottaja: dng
Aihe: Re: [DNG] [SOLVED] bug in simple-netaid building on ascii
Hi again,

On 11/02/2018 09:17 AM, aitor wrote:
>
> Hi all,
>
> I'm trying to build simple-netaid-gtk on ascii and i'm getting the
> following error:
>
> /usr/include/glibmm-2.4/glibmm/threads.h:661:29: error: cannot convert
> ‘GPrivate’ {aka ‘_GPrivate’} to ‘GPrivate*’ {aka ‘_GPrivate*’} in return
>    GPrivate* gobj() { return gobject_; }
>                              ^~~~~~~~
>
> Reading in bugzilla.redhat.com, seems to be a bug in libglibmm-2.4:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1540795
>
> As Orcan Ogetbil, i'm wondering why it didn't fail before.
>
> Cheers,
>
> Aitor.
>


It worked on Ceres with libglibmm-2.4-dev (=2.58.0-1). So, replacing:

GPrivate* gobj() { return gobject_; }

by:

GPrivate* gobj() { return &gobject_; }

in "/usr/include/glibmm-2.4/glibmm/threads.h", it should work on ascii.

Regards,

Aitor.