< Compile Options / Microcontroller Options >
The default for this option is unpack. That is, the structure members and class members have boundary alignment values appropriate for their types. The boundary alignment value for structures and classes equals the maximum boundary alignment value for members.
The boundary alignment value for structure members can also be set to 1 by using the #pragma pack directive. If this option and #pragma are specified together, the #pragma specification takes priority. |
The boundary alignment values for structure members and class members when these options are specified are shown in the following table. |
Boundary Alignment Values for Structure Members and Class Members When the pack Option is Specified |