Export (0) Print
Expand All
Expand Minimize

/Zs - Check Syntax Only (Windows CE 5.0)

Windows CE 5.0
Send Feedback

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

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft