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

mysql编译时报的一个警告warning: type-punning to incomplete type might break strict-aliasing rules,可能是bug,古老的榕树,5-wow.com

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。