Supported compiler macros

This topic discusses compiler macros that are supported by IBM® Open XL C/C++ for Linux® on Power® 17.1.1.

IBM Open XL C/C++ for Linux on Power 17.1.1 introduces support for new macros. Find details of these macros in Compiler macros introduced by the new Clang and LLVM infrastructure and Compiler macros introduced by Power10 exploitation.

Additionally, the macros that were supported by IBM XL C/C++ for Linux 16.1.1 are also supported by IBM Open XL C/C++ for Linux on Power 17.1.1 except those described in Unsupported compiler macros. Refer to IBM XL C/C++ for Linux 16.1.1 Compiler Reference to learn details of the supported macros.

Note:

IBM Open XL C/C++ for Linux on Power 17.1.1 fully supports the C++17 language standard and predefines the __cplusplus macro to 201703L when the C++17 mode is enabled via the -std=c++17 option.