Code::Blocks Forums

User forums => Help => Topic started by: PRESIDENT on March 24, 2015, 04:53:26 am

Title: how to use '-fpermissive'
Post by: PRESIDENT on March 24, 2015, 04:53:26 am
An compilation error:

'name lookup  of 'nIndex' changed for ISO 'for' scoping[-fpermissive]'

' if you use '-fpermissive' G++ willl accept your code'

Could anyone help with this '-fpermissive'?

Thanks.
Title: Re: how to use '-fpermissive'
Post by: oBFusCATed on March 24, 2015, 09:40:03 am
Project->Build options -> Compiler -> Other options

But it is better to fix your code.
Title: Re: how to use '-fpermissive'
Post by: CHAIRMAN on March 25, 2015, 02:29:01 am
Thx, oBFusCATed!