mac os 下brew安装的php导致Swoole编译失败的问题
如果mac 下编译出现如下类似错误:
/usr/local/Cellar/php/7.4.11/include/php/Zend/zend_operators.h:523:10: error:
'asm goto' constructs are not supported yet
__asm__ goto(
^
修改
/usr/local/Cellar/php/7.4.12/include/php/Zend/zend_operators.h
文件里的ZEND_USE_ASM_ARITHMETIC宏为0即可