Author Topic: how to use '-fpermissive'  (Read 8543 times)

PRESIDENT

  • Guest
how to use '-fpermissive'
« 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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: how to use '-fpermissive'
« Reply #1 on: March 24, 2015, 09:40:03 am »
Project->Build options -> Compiler -> Other options

But it is better to fix your code.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

CHAIRMAN

  • Guest
Re: how to use '-fpermissive'
« Reply #2 on: March 25, 2015, 02:29:01 am »
Thx, oBFusCATed!