G
Guest
We have some C++ code that has a makefile which contains both /W2 and /W3.
Due to the way the makefiles are written to be shared across multiple
projects, it's not trival to eliminate the duplicate compiler warning-level
directives. I'm trying to find a way to silence the following warning
displayed by Visual Studio 2005 for each file compiled:
cl : Command line warning D9025 : overriding '/W2' with '/W3'
One would think you could add '/wd9024' to the build rules to silence this.
But no - this option just adds a second warning to each file compiled:
cl : Command line warning D9014 : invalid value '9025' for '/wd'; assuming
'4999'
Any suggestions other then just removing one of /W3 or /W2 from the options
list?
Thanks for any tips you can share.
Due to the way the makefiles are written to be shared across multiple
projects, it's not trival to eliminate the duplicate compiler warning-level
directives. I'm trying to find a way to silence the following warning
displayed by Visual Studio 2005 for each file compiled:
cl : Command line warning D9025 : overriding '/W2' with '/W3'
One would think you could add '/wd9024' to the build rules to silence this.
But no - this option just adds a second warning to each file compiled:
cl : Command line warning D9014 : invalid value '9025' for '/wd'; assuming
'4999'
Any suggestions other then just removing one of /W3 or /W2 from the options
list?
Thanks for any tips you can share.