# fsyntax-only

Tells the compiler to check only for correct syntax.

## Syntax

Linux: | -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.

## IDE Equivalent

None

## Alternate Options

Linux: None

Windows: /Zs

Parent topic: Language Options