[Interest] error: taking address of temporary [-fpermissive]

Harri Pasanen harri at mpaja.com
Fri Jun 1 18:17:35 CEST 2012


On 06/01/2012 06:11 PM, Robert Wood wrote:
> Folks,
>
> I have just upgraded to Mageia Linux 2 and am now getting this compile
> error:
>
> error: taking address of temporary [-fpermissive]
>
> This was previously compiling just fine.
>
> I'm now running Creator 2.4.1 Based on Qt 4.8.0.
>
> Anyone know what is going on please?


gcc version likely changed with your upgrade.   The new version thinks 
there is dubious code in there.

Without seeing the code in question hard to say more.

/Harri



More information about the Interest mailing list