trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: April 2012

Re: [trinity-devel] Kdebase 3.5.13 ftbfs with GCC 4.7

From: François ANDRIOT <francois.andriot@...>
Date: Tue, 24 Apr 2012 22:54:58 +0200
Le 24/04/2012 20:54, David C. Rankin a �crit :
> On 04/24/2012 01:45 PM, Francois Andriot wrote:
>> /opt/trinity/include/dcopref.h:145:27: error: 'dcopTypeName' was not 
>> declared
>> in this scope, and no declarations were found by argument-dependent 
>> lookup at
>> the point of instantiation [-fpermissive]
> <snip>
>> Do you have any clue ?
>> (I repeat: this is on 3.5.13, not latest GIT)
>
> Yes,
>
>   As a work-around, just try doing what the compiler is telling you to 
> do. Add the -fpermissive flag to your build:
>
> ./configure \
> CXXFLAGS="${CXXFLAGS} -fpermissive" \
> what_ever_other_options_you_use
>
>   The cause of the problem will eventually have to be fixed, but you 
> can tell the compiler to just allow what gcc4.6 would allow with this 
> flag....
>

No thanks, I do not want to use the "-fpermissive".
Instead, here is a patch for tdelibs that will change the "dcoptypes.h" 
file. Now tdebase builds correctly.

Francois

Attachments: