ROSTRING compiler option

As of z/OS® V1R2 C/C++ compiler, the ROSTRING option default for C is changed from NOROSTRING to ROSTRING. The default for C++ has always been ROSTRING.

ROSTRING informs the compiler that string literals are read-only, thus allowing more freedom for the compiler to handle string literals. If you are not sure whether your program modifies string literals or not, specify the NOROSTRING compiler option.