trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: April 2012

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

From: "David C. Rankin" <drankinatty@...>
Date: Tue, 24 Apr 2012 13:54:37 -0500
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....

-- 
David C. Rankin, J.D.,P.E.