posts - 11,  comments - 0,  trackbacks - 0

ontrols how the members of a structure are packed into memory and specifies the same packing for all structures in a module.

Copy

/Zp[1|2|4|8|16]


When you specify this option, each structure member after the first is stored on either the size of the member type or n-byte boundaries (where n is 1, 2, 4, 8, or 16), whichever is smaller.

The available values are described in the following table.

1 Packs structures on 1-byte boundaries. Same as /Zp.

2 Packs structures on 2-byte boundaries.

4 Packs structures on 4-byte boundaries.

8 Packs structures on 8-byte boundaries (default).

16 Packs structures on 16-byte boundaries.

You should not use this option unless you have specific alignment requirements.

 

posted on 2010-11-25 13:32 SearchDream 阅读(276) 评论(0)  编辑 收藏 引用
<2025年8月>
272829303112
3456789
10111213141516
17181920212223
24252627282930
31123456

常用链接

留言簿

随笔档案

搜索

  •  

最新评论

阅读排行榜

评论排行榜