C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
Checking Syntax (/Zs)
                                             Up Contents Index Back
─────C/C++ Compiler─────────────────────────────────────────────────────────
 
     Syntax:  /Zs sourcefiles
 
     This option causes the compiler to perform a syntax check on
     <sourcefiles>. With this option, you can quickly find and correct
     syntax errors without doing a full compile and link.
 
     The output is sent to the standard output device. Error messages
     are displayed if the source file has syntax errors. The compiler
     does not generate code or produce object files, object listings,
     or executable files.
 
     To generate a source listing showing the error messages, specify
     the /Fs option on the same command line.
 
     See: Listing Files (/Fs)
                                    -♦-