trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: April 2012

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

From: "Timothy Pearson" <kb9vqf@...>
Date: Tue, 24 Apr 2012 16:06:08 -0500
> 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

Some patches are already in GIT for various gcc 4.7 build failures.  Have
you already backported those patches to your local build of 3.5.13?

Tim