« | August 2025 | » | 日 | 一 | 二 | 三 | 四 | 五 | 六 | | | | | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | | | | | | | |
| 公告 |
戒除浮躁,读好书,交益友 |
Blog信息 |
blog名称:邢红瑞的blog 日志总数:523 评论数量:1142 留言数量:0 访问次数:9687648 建立时间:2004年12月20日 |

| |
[c++]VS2010 编译 金山卫士的问题  原创空间, 文章收藏, 软件技术, 电脑与网络
邢红瑞 发表于 2010/12/2 15:51:56 |
金山卫士开源了,对于我个人而言,金山卫士的作用就是安装个操作系统的补丁工具。
金山卫士应该是在vs 2008下编译通过,使用vs2010编译有点问题。
1 error C3861: 'back_inserter': identifier not found ,使用back_inserter()没有包含没有#include <iterator>,因为include<algorithm>没有包括﹤iterator﹥。
2 12>c:\program files\microsoft visual studio 10.0\vc\include\intrin.h(136): error C2059: syntax error : '('
12>c:\program files\microsoft visual studio 10.0\vc\include\intrin.h(136): error C2062: type 'int' unexpected
12>c:\program files\microsoft visual studio 10.0\vc\include\intrin.h(136): error C2059: syntax error : ')'
应该abs 这个这个宏被重新定义,只好将其注释掉,//__MACHINE(int __cdecl abs(_In_ int)) |
|
» 1 »
|