warning: dereferencing type-punned pointer will break strict-aliasing rules(转)

warning: dereferencing type-punned pointer will break strict-aliasing rules express   在 gcc 2.x 下编译没有任何 warning 信息的代码换到 gcc 3.x 版本下以后出现了相似的 warning 。缘由是 gcc 3 引入了 strict aliasing 架构,当编译时使用了 -fstrict-a
相关文章
相关标签/搜索