摘要: 在编译一个项目的时候,发现有这样的warning信息:dereferencing type-punned pointer will break strict-aliasing rulesgoogle了一下,发现这是因为GCC3中引入了strict-aliasing机制导致的gcc 3 manual 对于-fstrict-aliasing参数的说明是:Allows the compiler to assume the strictest aliasing rules applicable to the language being compiled. For C (and C++), this 阅读全文
posted @ 2012-04-17 19:05 传灯 阅读(1266) 评论(0) 推荐(0) 编辑