only_std_keywords

Controls the use of ISO keywords.

Syntax

#pragma only_std_keywords on | off | reset

Targets
All platforms.
Remarks

The C/C++ compiler recognizes additional reserved keywords. If you are writing code that must follow the ANSI standard strictly, enable the pragma only_std_keywords. For more information, see “ANSI Keywords Only”.

This pragma corresponds to the ANSI Keywords Only setting . To check this setting, use __option (only_std_keywords), described in Checking Settings. The default setting is off.