The ILE C/C++ compiler provides the predefined macros described in this section. These macros are defined when their corresponding pragmas are invoked in program source, or when their corresponding compiler options are specified. Unless otherwise specified, macros when defined have a value of 1.
Defined when TERASPACE(*YES *TSIFC) STGMDL(*TERASPACE) DTAMDL(*LLP64) RTBND(*LLP64) compiler options are in effect.
V represents the version
R represents the release
M represents the modification level
For example, using the IBM i 7.1 compiler with the TGTRLS(*CURRENT) compiler option, __IBMC__ returns the integer value 710.
For C++, it is defined when the LANGLVL(*EXTENDED) compiler option is in effect.
2 for OPTIMIZE(20)
3 for OPTIMIZE(30)
4 for OPTIMIZE(40)
The date and time are in the form:
"Day Mmm dd hh:mm:ss yyyy"
where:
Day represents the day of the week (Mon, Tue, Wed, Thu, Fri, Sat, or Sun).
Mmm represents the month in an abbreviated form (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, or Dec).
dd represents the day. If the day is less than 10, the first d is a blank character.
hh represents the hour.
mm represents the minutes.
ss represents the seconds.
yyyy represents the year.
This macro is defined by the C++ compiler.