Controls the const-ness of string literals.
#pragma const_strings [ on | off | reset ]
If you enable this pragma, the compiler will generate a warning when string literals are not declared as const. The following listing shows an example.
char *string1 = "hello"; /*OK, if const_strings is disabled*/ const char *string2 = "world"; /* Always OK */
This pragma does not correspond to any setting in the Language panel. To check this setting, use __option (const_strings), described in Checking Pragma Settings.