Hey,
I have to compile my projects with one of the following expressions:
gcc -std=c89 -pedantic -Wall -Wextra
gcc -std=c99 -pedantic -Wall -Wextra
However, I don't know where to enable these options in Code:Blocks. Can somebody help me?
Create a project and then project -> build options.
Please read the manual, too.
Ok, that's where I supposed it to be. However, I can't figure out where to set gcc -std=c89? Is it in "other options"?
And what's the difference between project --> build options and settings --> compiler and debugger ?
Yes the other options.
The project options are for the project, the settings -> compiler is global for the selected compiler, then applies to all projects and it is not recommended to put anything there.
Thanks... You helped me a great deal ;-)