ILE C/C++ Compiler Reference

DTAMDL

Specifies how pointer types will be interpreted in absence of an explicit modifier. The __ptr64 and __ptr128 type modifiers and the datamodel pragma override the setting of the DTAMDL compiler option.

|--+------------------------+-----------------------------------|
   |          .-*P128--.    |
   '-DTAMDL(--+-*LLP64-+--)-'
 
 

*P128
Default setting. The size of int, long, and pointer data types are 4, 4, and 16 bytes respectively.
*LLP64
The size of int, long, and pointer data types are 4, 4, and 8 bytes respectively, and the compiler will define the macro __LLP64_IFC__.

Use of DTAMDL(*LLP64) together with TERASPACE(*NO) will be flagged as an error by the compiler, and compilation will stop.

DTAMDL(*LLP64) is ignored if the TGTRLS compiler option specifies a target release earlier than V5R1M0.

See pragma datamodel for more information.

For more information about valid combinations for the STGMDL, TERASPACE, and DTAMDL compiler options, see TERASPACE.


[ Top of Page | Previous Page | Next Page | Table of Contents ]