Specifies alignment for structures on byte boundaries.
Windows: C/C++ > Code Generation > Struct Member Alignment
Linux: Data > Structure Member Alignment
Mac OS: Data > Structure Member Alignment
IA-32 architecture, Intel® 64 architecture, IA-64 architecture
Linux and Mac OS: | -Zp[n] |
Windows: | /Zp[n] |
n | Is the byte size boundary. Possible values are 1, 2, 4, 8, or 16. |
Zp16 | Structures are aligned on either size boundary 16 or the boundary that will naturally align them. |
This option specifies alignment for structures on byte boundaries.
If you do not specify n, you get Zp16.
None