warn_illpragma

Controls the recognition of illegal pragma directives.

Syntax
  #pragma warn_illpragma on | off | reset 
Remarks

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

This pragma corresponds to the Illegal Pragmas setting in the Language panel. To check this setting, use __option (warn_illpragma), described in Checking Pragma Settings. By default, this setting is disabled.