Developer Guide and Reference

Contents

fsyntax-only

Tells the compiler to check only for correct syntax.

Syntax

Linux:
-fsyntax-only
macOS:
-fsyntax-only
Windows:
None
Arguments
None
Default
OFF
Normal compilation is performed.
Description
This option tells the compiler to check only for correct syntax. No object file is produced.
Alternate Options
Linux
and
macOS*
: None
Windows:
/Zs