:: [DNG] [SOLVED] bug in simple-netai…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Edward Bartolo
Päiväys:  
Vastaanottaja: dng
Aihe: [DNG] [SOLVED] bug in simple-netaid building on ascii
On 02/11/2018, aitor <aitor_czr@???> wrote:
> 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.


Trial and error?! I thought, it was only low intellects who do that!

Aitor et al, you cannot always hide your human limitations, no matter
which high horse you mount.