trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: June 2018

Re: [trinity-users] compilation errors with clang

From: Slávek Banko <slavek.banko@...>
Date: Thu, 14 Jun 2018 17:53:13 +0200
On Monday 11 of June 2018 22:56:07 Oleg Levenets wrote:
> Hi, maybe someone can help? I decided to create a git-version of
> trinity for my slackware, but several packages do not want to be
> compiled.
>
> First package k9copy:
>
> ../../libk9copy/k9config.cpp:82:72:  [0;1;31merror: taking the address
> of a temporary
>       object of type 'TQColor' [-Waddress-of-temporary]
>   ...&TQColor(TQt::yellow));
>  [0;1;32m     ^~~~~~~~~~~~~~~~~~~~~
> ../../libk9copy/k9config.cpp:83:68:  [0;1;31merror: taking the address
> of a temporary
>       object of type 'TQColor' [-Waddress-of-temporary]
>   ...&TQColor(TQt::yellow));
>
> .
> .
> .
>
> these packages are normally compiled with gcc, but do not want to work
> with clang.
> I will be grateful for help in solving the problem!
>
>
> best regards, Oleg Levenets.
>

Hi Oleg,

k9copy build with Clang should be fixed by commits bc865250 (master) and 
72845f63 (r14.0.x).

Cheers
-- 
Slávek