Click here to Skip to main content
15,902,492 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
How to turn ANSI compatibility off in CodeBlock v12.11 compiler?
Posted
Updated 27-Apr-13 10:26am
v2

1 solution

CodeBlock is an IDE, not a compiler. So everything depend on the actual compiler you use. You have to create or modify a project template[^] and add proper compiler switch. Supposing you use GCC/MingW that is shipped in a package with the IDE, you can't "turn off" ansi compatibility, you need to specify which standard or extension support you want. See: http://gcc.gnu.org/onlinedocs/gcc/Standards.html[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900