vs05字节对齐问题又一不小心就弄去了我一个下午的时间

时间:2014-05-09 09:40:28   收藏:0   阅读:306

由于一字节的对齐问题,我调一个库调了我基本一个下午.....

犯错其实并不可怕,

可怕的是你一犯再犯......

这也算得上是难能可贵...

 

/Zp (Struct Member Alignment)

Visual Studio 2013
 
Other Versions
bubuko.com,布布扣
 
This topic has not yet been rated Rate this topic
 

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

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

vs05字节对齐问题又一不小心就弄去了我一个下午的时间,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!