Start of change

What's new for z/OS V2R2 XL C/C++

The IBM® z/OS® XL C/C++ compiler delivers the following performance and usability enhancements for the z/OS V2R2 release:

Changes to default ARCH and TUNE level
Starting with z/OS V2R2, the default ARCH level is changed from ARCH(7) to ARCH(8), and the default TUNE level is changed from TUNE(7) to TUNE(8).
New compiler options and suboptions
  • CHECKNEW
  • DSAUSER(value)
  • LANGLVL(NULLPTR) for C++ only
  • TARGET(zOSV2R2)
  • VECTOR(TYPE | AUTOSIMD)
The nullptr keyword
This feature introduces nullptr as a null pointer constant for C++. The nullptr constant can be distinguished from integer 0 for overloaded functions. The constants of 0 and NULL are treated as of the integer type for overloaded functions, whereas nullptr can be implicitly converted to only the pointer type, pointer-to-member type, and bool type. You can use the LANGLVL(NULLPTR) option to enable this feature.
End of change