-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error "__builtin_uaddll_overflow’在此作用域中尚未声明" #74
Comments
sonic/include/sonic/internal/arch/avx2/simd.h:50:49: 错误:不能在初始化时将‘__m128i {aka __vector(2) long long int}’转换为‘long long int’
-mavx2 -mpclmul -mbmi都加了 |
sonic_force_inline base128() : value{__m128i()} {} 改为 sonic_force_inline base128() : value(_mm_setzero_si128()) {} |
感谢反馈,看起来是环境中该编译器不支持 __builtin_uaddll_overflow 扩展 |
@liuq19 还有一个问题,不知道有没有人反馈过。首页-usage-Getting and Setting-print_member 写的是sonic_json::Node& key = m->name; 编译出错 |
正确应该是
|
编译器有个内置的函数来 check builtin 是否支持,我们可以加上这个 check,这样可以更友好的提前暴露这个问题? |
__builtin_uaddll_overflow’在此作用域中尚未声明
The text was updated successfully, but these errors were encountered: