KDevPlatform not compiling using GCC 4.6.0

Nicolás Alvarez nicolas.alvarez at gmail.com
Fri Apr 1 23:30:35 UTC 2011


On 3/29/11, Milian Wolff <mail at milianw.de> wrote:
> Aleix Pol, 28.03.2011:
>> Hi!
>> Apparently now we will need some GCC flag called -fpermissive if we want
>> to
>> keep using mutable references. Since I guess the best would be to fix it,
>> I'm reporting the error here.
>>
>> Opinions?
>> Aleix
>
> afair there was also a bug report or review request for this including a
> patch
> by someone else.
>
> I'd also say: make the references pointers - then they can stay mutable.

Changing these references to pointers is binary-incompatible.

I just tried removing 'mutable' (leaving them as references) and
kdevplatform still compiles; I think this would be a better solution.

-- 
Nicolas




More information about the KDevelop-devel mailing list