Zp

Specifies alignment for structures on byte boundaries.

IDE Equivalent

Windows: Code Generation > Struct Member Alignment

Linux: Data > Structure Member Alignment

Mac OS X: Data > Structure Member Alignment

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux and Mac OS X:

-Zp[n]

Windows:

/Zp[n]

Arguments

n

Is the byte size boundary. Possible values are 1, 2, 4, 8, or 16.

Default

Zp16

Structures are aligned on either size boundary 16 or the boundary that will naturally align them.

Description

This option specifies alignment for structures on byte boundaries.

If you do not specify n, you get Zp16.

Alternate Options

None


Submit feedback on this help topic

Copyright © 1996-2011, Intel Corporation. All rights reserved.