No, it is not a bug. You have simply misunderstood what is happening.
When you create a project, it 'inherits' the settings under Tools->Compiler options->C Compiler, but after creation, the project settings are determined by Project->Project options. That is where you need to clear the setting.
The Tools->Compiler options settings are only applied to at project creation, and to builds that do not use the project tool (not recommended).
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I am using Dev-C 4.9.9.2.
In the compiler options under the settings tab. For "C compiler" I set "Support all ANSI standard C programs" to yes. I later set this to no.
The problem is that setting this option to no does not stop -ansi from being put in the make file.
This is a bug with Dev-C.
I have managed to clear this the project *.dev file by editing the CompilerSettings to read:
CompilerSettings=0000000000000000000000.
The other option would be to delete the *.dev file and create the project again.
I hope this will help someone else.
No, it is not a bug. You have simply misunderstood what is happening.
When you create a project, it 'inherits' the settings under Tools->Compiler options->C Compiler, but after creation, the project settings are determined by Project->Project options. That is where you need to clear the setting.
The Tools->Compiler options settings are only applied to at project creation, and to builds that do not use the project tool (not recommended).
Clifford