-fpack-struct (-qalign)
Category
Purpose
Specifies the alignment of data objects in storage, which avoids performance problems with misaligned data.
Syntax
>>- -fpack-struct----------------------------------------------><
.-=linuxppc---. >>- -q--align--+-=bit_packed-+---------------------------------><
Defaults
-qalign=linuxppc
Parameters
- bit_packed
- Bit field data is packed on a bitwise basis without respect to byte boundaries.
- linuxppc
- Uses GNU C/C++ alignment rules to maintain binary compatibility with GNU C/C++ objects.
Usage
If you use the -fpack-struct (-qalign=bit_packed) or -qalign=linuxppc option more than once on the command line, the last alignment rule specified applies to the file.
Note: When using -fpack-struct (-qalign=bit_packed) or -qalign=linuxppc ,
all system headers are also compiled with -fpack-struct (-qalign=bit_packed) or -qalign=linuxppc .
For a complete explanation of the option as well as usage considerations, see Aligning data.
Predefined macros
None.