IBM XL C/C++


[Home] Home > Programming > Preprocessor > Compilers >
IBM XL C/C++

Description

The XL C/C++ compiler from IBM.


Macros

Type Macro Format Description
Identification __xlC__ C and C++ compilers
Version __IBMC__ 0xVVRRMM C compiler

VV = Version
RR = Release
MM = Modification
Version __IBMCPP__ 0xVVRRMM C++ compiler

VV = Version
RR = Release
MM = Modification
Version __xlc__ 0xVVRRMMFF C compiler

VV = Version
RR = Release
MM = Modification
FF = Fix pack
Version __xlC__ 0xVVRR C and C++ compilers

VV = Version
RR = Release
Version __xlC_ver__ 0x0000MMFF MM = Modification
FF = Fix pack

Examples

Version __IBMCPP__ __xlC__ __xlC_ver__
13.1.3.5 0x0D0103 0x0D01 0x00000305
12.1.0.4 0x0C0100 0x0C01 0x00000004

Copyright © 2010-2024 Paul Ward.
License Information