gcc 4.4下如果在编译swoole的时候(即make阶段),出现gcc warning: dereferencing pointer ‘v.327’ does break strict-aliasing rules、 dereferencing type-punned pointer will break strict-aliasing rules 请手动编辑Makefile,将CFLAGS = -Wall -pthread -g -O2替换为CFLAGS = -Wall -pthread -g -O2 -fno-strict-aliasing,然后重新编译make clean;make;make install
dereferencing pointer ‘v.327’ does break strict-aliasing rules
- 上一篇:composer简单使用
- 下一篇:百度地址转省市函数(php版本)