readonly_strings

Controls whether string objects are placed in a read-write or a read-only data section.

Syntax
#pragma readonly_strings on | off | reset
  
Remarks

If you enable this pragma, literal strings used in your source code are output to the read-only data section instead of the global data section. In effect, these strings act like constchar* , even though their type is really char* .

This pragma does not correspond to any IDE panel setting.

Related information
aggressive_inline
dont_reuse_strings
enumsalwaysint
enums_signed
errno_name
explicit_zero_data
float_constants
instmgr_file
longlong
longlong_enums
min_enum_size
pool_strings
reverse_bitfields
store_object_files