HP C/iX Reference Manual (31506-90011)
Chapter 8 121
Compiling and Running HP C/iX Programs
Pragmas
[#pragma LIST {ONOFF }]
Turns listing functionality ON or OFF. The default is ON.
[#pragma AUTOPAGE {ONOFF }]
When ON, causes a page break in the listing after each function definition. The default is
OFF.
#pragma LOCALITY
"string"
Specifies a name to be associated with the code that is written to a Relocatable Object
Module. All code following the locality pragma will be associated with the name given until
the end of the current source file or until another locality pragma is encountered. Locality
of code is at the function level. Without the locality pragma, the name CODE is associated
with the generated code.
For more information on optimizer pragmas, refer to chapter 7. For more information on
the listing pragmas, refer to chapter 11.
[#pragma HP_ALIGN {MPE_16POP}]
The MPE_16 option directs the HP C/iX compiler to set the alignment of int, float, and
double in structures and unions to be aligned according to the MPE/V alignment scheme.
This option also sets the alignment of structures and unions to start and end on at least a
half-word boundary. The HP_ALIGN MPE_16 pragma facilitates reading TurboImage
databases and MPE/V based binary files on MPE/iX systems.
The POP option turns off the HP_ALIGN pragma and alignment reverts to word (32-bit)
alignment. For more information on data alignment, refer to chapter 9, "HP C/iX
Implementation Topics."