trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: June 2018

compilation errors with clang

From: Oleg Levenets <olevenets2@...>
Date: Mon, 11 Jun 2018 23:56:07 +0300
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));

Second soundkoverter:

In file included from ../../../../src/metadata/rmff/taglib_realmediafile.cpp:37:
../../../../src/metadata/rmff/rmff.h:253:21: error: cannot define or redeclare '
      'RealMedia' does not enclose namespace 'TagLib'
      class TagLib::AudioProperties;

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.