/Zs - Check Syntax Only (Windows CE 5.0)
This option tells the compiler to check only the syntax of the source files that follow the option on the command line. This option provides a quick way to find and correct syntax errors before you try to compile and link a source file.
When you give the /Zs option, the compiler does not generate code or produce object files, object listings, or executable files. The compiler, however, does display error messages if the source file has syntax errors.
All supported compilers implement the /Zs option. The following code example shows how to use the /Zs option to check syntax on all source files in the current working directory that end with the .c extension.
CL /Zs *.C
Send Feedback on this topic to the authors