如果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即可

标签: none

添加新评论