The /wd command-line switch, which allows warnings to be disabled, does not work for command-line warnings. A couple of valid command-line switches which are listed in cl /? as valid switches, most notably /GX, cause the front-end to issue command-line option deprecation warnings. There doesn't seem to be a way to disable these warnings, which is inconvenient in situations where it is not trivial to remove the problematic flags.The reason I am running into this problem is that I have a need to stick with Visual C++ 6.0 for the short-term, but am running the VC8 compiler with MSDEV /USEENV to check build compatibility and prepare for an eventual move to VS2005. The build works except that /GX and /YX are causing the VC8 front end to spew D9035 and D9036. /YX is not supported, but /GX shouldn't throw warnings if it is listed as a valid synonym in help.