# Wextra-tokens

Determines whether warnings are issued about extra tokens at the end of preprocessor directives.

## Syntax

Linux: | -Wextra-tokens -Wno-extra-tokens

macOS: | -Wextra-tokens -Wno-extra-tokens

Windows: | None

## Arguments

None

## Default

-Wno-extra-tokens | The compiler does not warn about extra tokens at the end of preprocessor directives.

## Description

This option determines whether warnings are issued about extra tokens at the end of preprocessor directives.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Compiler Diagnostic Options