I am trying the cc task for the first time and I noticed that it does not set the optimization flag properly when I specify the optimize attribute for the cc task. I have set it to "speed", which I would expect to translate to O2 or O3 on msvc compiler, however it is setting it to Od. I tried setting the attribute to other ones too, and they all get translated to Od. In fact, I tried overriding the flag with a compilerarg tag and I get the message "Command line warning D9025 : overriding '/O2' with '/Od'" Funny! I am trying to override what the cc task is setting, but instead it's the other way. Am I missing something? Is there a bug?
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.