INF: Using /Zp Has Different Defaults Than Not Using /Zp

ID Number: Q64163

5.10 6.00 6.00a 6.00ax | 5.10 6.00 6.00a

MS-DOS | OS/2

Summary:

When specifying the /Zp switch in Microsoft C versions 5.0, 5.1, 6.0,

6.0a, and 6.0ax, it should be observed that the default functionality

when using the /Zp switch without a numeric argument is equivalent to

/Zp1 (that is, structure members will be packed on 1-byte boundaries).

Additionally, if the /Zp switch is not specified, the structure

members will be packed on 2-byte boundaries (that is, the equivalent

of using /Zp2).

Additional reference words: 5.10 6.00 6.00a 6.00ax