mysql编译时报的一个警告warning: type-punning to incomplete type might break strict-aliasing rules,可能是bug

cmake的时候报了一个警告:

/softdb/mysql-5.5.37/storage/innobase/handler/ha_innodb.cc:11870: warning: type-punning to incomplete type might break strict-aliasing rules
/softdb/mysql-5.5.37/storage/innobase/handler/ha_innodb.cc:11871: warning: type-punning to incomplete type might break strict-aliasing rules
/softdb/mysql-5.5.37/storage/innobase/handler/ha_innodb.cc:11872: warning: type-punning to incomplete type might break strict-aliasing rules
/softdb/mysql-5.5.37/storage/innobase/handler/ha_innodb.cc:11878: warning: type-punning to incomplete type might break strict-aliasing rules

查询了一下,maybe是个bug。http://bugs.mysql.com/bug.php?id=42733

上一篇:Windows任务管理器中内存使用、虚拟内存区别及与页面文件的关系


下一篇:Objective-c @property和@Synthesize