Developer Guide and Reference

Contents

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.
Alternate Options
None