memcached-1.4.5安装时候出现错误error: dereferencing type-punned pointer will break strict-aliasing


安装memcached1.4.5时出现错误error: dereferencing type-punned pointer will break strict-aliasing

 

安装memcached-1.4.5时候出现错误error: dereferencing type-punned pointer will break strict-aliasing rules

在issue中发现需要安装补丁包,下载该补丁

cd /opt/

wget http://johntech-resource.googlecode.com/files/fix-strict-aliasing.patch

打补丁,修复问题:

patch  ./memcached-1.4.5/memcached.h fix-strict-aliasing.patch

补丁打好后重新安装问题解决



http://code.google.com/p/memcached/issues/detail?id=60&can=1&q=strict-aliasing

你可能感兴趣的:(memcached-1.4.5安装时候出现错误error: dereferencing type-punned pointer will break strict-aliasing)