warn_illpragma

Controls the recognition of illegal pragma directives.

Syntax

#pragma warn_illpragma on | off | reset

Targets
All platforms.
Remarks

If you enable this pragma, the compiler displays a warning when it encounters a pragma it does not recognize. For more information about this warning, see “Illegal Pragmas”.

This pragma corresponds to the Illegal Pragmas setting . To check this setting, use __option (warn_illpragma), described in Checking Settings. The default setting is off.