Bug #8199 2006-07-25 20:03
dermeister
Compiler gets command line switches from another compiler
Have a project and select GCC or MingWG as compiler. Activate the compiler switch for creating debug information (-g). Now select another compiler for this project (for example one from Microsoft) that does not support -g as command line switch. Now compile the project with this compiler. Notice that the compiler will complain about an unknown option '-g'. That means: It gets the old parameters for the previous selected compiler, too (or at least a part of them). This should not happen because it might cause problems if the parameter is a correct switch for the second compiler but causes totally different behaviour when passed to the first one.
- Category
- Compiler
- Group
- Status
- Open
- Close date
- Assigned to
- killerbot
History
I strongly disagree that this is a bug.
I think it has to be discussed with the core devs before working on that. Please also read http://forums.codeblocks.org/index.php?topic=3669.msg28896#msg28896
The switches are stored in the "Other options" box. If you delete them from there, they go away.