Developer Guide and Reference

Contents

Wunknown-pragmas

Determines whether a warning is issued if an unknown #pragma directive is used.

Syntax

Linux:
-Wunknown-pragmas
-Wno-unknown-pragmas
macOS:
-Wunknown-pragmas
-Wno-unknown-pragmas
Windows:
None
Arguments
None
Default
-Wunknown-pragmas
A warning is issued if an unknown
#pragma
directive is used.
Description
This option determines whether a warning is issued if an unknown
#pragma
directive is used.
Alternate Options
None