IBM Support

C/C++ language standards support in IBM Open XL C/C++ 1.1 for z/OS

White Papers


Abstract

IBM® Open XL C/C++ 1.1 for z/OS® supports up to C17/C18 and C++17 language standard features with the exceptions detailed in this document.

Content

IBM Open XL C/C++ 1.1 for z/OS is based on the community Clang 14.0.0 compiler. See the community Clang website for the overall status of Clang's C and C++ standards support.
Open XL C/C++ 1.1 for z/OS supports up to C17/C18 and C++17 language standard features except for the following standard features:
C11
  • Thread local storage
  • The fopen function with "x" as the mode 
C++11
  • Thread local storage 
C++17
  • Dynamic memory allocation for over-aligned data 
Open XL C/C++ 1.1 also depends on libc++'s implementation of the standard C++ library. For more information, see libc++ C++17 status. The following feature is not supported on z/OS: 
Libc++
  • Adopt the File System TS for C++17 
    • The remove_all() function is removed from the class unless the macro _LIBCPP_ENABLE_FS_REMOVE_ALL is defined.

[{"Type":"MASTER","Line of Business":{"code":"LOB16","label":"Mainframe HW"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSUMVNF","label":"IBM Open XL C\/C++ for z\/OS"},"ARM Category":[{"code":"a8m0z000000cx75AAA","label":"z\/OS-\u003EGENERAL"}],"Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"All Versions"}]

Document Information

Modified date:
14 April 2022

UID

ibm16570573