use '-fpermissive' (Code::Blocks)

When I try to compile Code::Blocks note me (if you use '-fpermissive' G++ will accept your code). I have looked all over for this flag but I cant find where to make the compiler use '-fpermissive'. The compiler is GNU GCC Compiler, and the only flags I have set is "Optimize even more (for speed) [-O2]" and "Strip all symbols from binary (minimizes size) [-s]".

How do I use '-fpermissive'?
man wrote:
-fpermissive
Downgrade some diagnostics about nonconformant code from errors to warnings.
Thus, using -fpermissive will allow some nonconforming code to compile.

I would suggest to make your code conforming instead
Topic archived. No new replies allowed.