can’t convert between vector values of different size return (__m64) __builtin_ia32_vec_init_v2si
来源:互联网 发布:mysql可视化工具使用 编辑:程序博客网 时间:2024/06/06 16:49
在cmake编译的时候,发现报大量的错误:
can’t convert between vector values of different size return (__m64) __builtin_ia32_vec_init_v2si (__i0, __i1);
^
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/mmintrin.h: 在函数‘__m64 _mm_set_pi16(short int, short int, short int, short int)’中:
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/mmintrin.h:866:70: 错误:can’t convert between vector values of different size
return (__m64) __builtin_ia32_vec_init_v4hi (__w0, __w1, __w2, __w3);
^
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/mmintrin.h: 在函数‘__m64 _mm_set_pi8(char, char, char, char, char, char, char, char)’中:
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/mmintrin.h:875:35: 错误:can’t convert between vector values of different size
__b4, __b5, __b6, __b7);
使用的是编译选项:
--std=c++11
解决方法:
第一种方法:修改成--std=gnu++11 重新编译正常
第二种方法:添加-U__STRICT_ANSI__ 这个宏定义,重新编译OK
- can’t convert between vector values of different size return (__m64) __builtin_ia32_vec_init_v2si
- convert between characters and values
- Copy Field values between different records
- Can't convert argument
- iconv - Convert Character Vector between Encodings
- Can't convert argument: null
- ??? Error using ==> nlinfit at 127 MODELFUN should return a vector of fitted values the same length
- can't read model: number of return field is not correct
- the small size of t
- can't convert ActiveRecord::RecordInvalid into String
- 异常:Can't convert argument: null解决方法
- Can't convert argument: null解决方案
- Can't return type callbacks for 3
- The count of VLFs for different size of transaction log
- illegal to have multiple occurrences of contentType with different values
- illegal to have mutiple occurrences of contentType with different values
- Values of attribute "level" not equal in different manifest snippets.
- warning: cast to pointer from integer of different size
- 架构优化之SERVICE 层分离----服务端
- 倒计时、计算时间
- ganglia学习2之Spark编译带有ganglia的版本
- bzoj1016: [JSOI2008]最小生成树计数
- C语言再学习 -- EOF、feof函数、ferror函数
- can’t convert between vector values of different size return (__m64) __builtin_ia32_vec_init_v2si
- Elasticsearch、Fluentd与Kibana:开源的日志搜索与可视化方案
- AC3/EAC3格式总结
- Linux 守护进程的启动方法
- hdoj-5969-最大的位或
- VC++内存泄漏的检测与定位
- Permutations II
- ICA独立成分分析
- 华信IT教育201611第一篇博客