/Zs (Syntax Check Only)
| Overview | How Do I | Compiler Options
This option tells the compiler to check only the syntax of the source files on the command line. No output files are created. Error messages are written to standard output. The /Zs option provides a quick way to find and correct syntax errors before you compile and link a source file.