错误信息都是些系统文件的错误
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(164): error C2146: syntax error : missing ')' before identifier '_Errval'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(164): error C2334: unexpected token(s) preceding ':'; skipping apparent function body
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(164): error C2760: syntax error : expected '{' not ';'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(167): error C2144: syntax error : 'bool' should be preceded by '}'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(167): error C2226: syntax error : unexpected type 'std::error_code'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(167): error C2334: unexpected token(s) preceding ':'; skipping apparent function body
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(167): error C2760: syntax error : expected '{' not ';'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(169): error C2144: syntax error : 'bool' should be preceded by '}'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(170): error C2143: syntax error : missing ')' before '{'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(170): error C2059: syntax error : ')'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(170): error C2143: syntax error : missing ';' before ')'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(170): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(389): error C2589: '(' : illegal token on right side of '::'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(389): warning C4091: 'inline ' : ignored on left of 'bool' when no variable is declared
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(389): error C2143: syntax error : missing ';' before '::'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(389): error C2059: syntax error : '::'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(389): error C2059: syntax error : 'constant'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(389): error C2059: syntax error : ')'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(390): error C2143: syntax error : missing ';' before '{'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(390): error C2447: '{' : missing function header (old-style formal list?)
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(396): error C2589: '(' : illegal token on right side of '::'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(396): warning C4091: 'inline ' : ignored on left of 'bool' when no variable is declared
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(396): error C2143: syntax error : missing ';' before '::'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(396): error C2059: syntax error : '::'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(396): error C2059: syntax error : 'constant'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(396): error C2059: syntax error : ')'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(397): error C2143: syntax error : missing ';' before '{'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(397): error C2447: '{' : missing function header (old-style formal list?)
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(412): error C2059: syntax error : '('
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(417): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(417): error C2143: syntax error : missing ',' before '&'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(419): error C2803: 'operator ==' must have at least one formal parameter of class type
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(419): error C2805: binary 'operator ==' has too few parameters
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(420): error C2039: '_Right' : is not a member of 'std::error_category'
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(145) : see declaration of 'std::error_category'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(420): error C2039: 'category' : is not a member of 'std::error_category'
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(145) : see declaration of 'std::error_category'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(420): error C2059: syntax error : '('
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(426): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(426): error C2143: syntax error : missing ',' before '&'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(428): error C2803: 'operator !=' must have at least one formal parameter of class type
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(428): error C2805: binary 'operator !=' has too few parameters
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(429): error C2228: left of '._Left' must have class/struct/union
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(433): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(433): error C2143: syntax error : missing ',' before '&'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(435): error C2803: 'operator !=' must have at least one formal parameter of class type
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(435): error C2805: binary 'operator !=' has too few parameters
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(440): error C2146: syntax error : missing ';' before identifier 'make_error_code'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(440): error C2433: 'error_code' : 'inline' not permitted on data declarations
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(440): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(440): error C2146: syntax error : missing ')' before identifier '_Errno'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(440): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(440): error C2059: syntax error : ')'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(441): error C2143: syntax error : missing ';' before '{'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(441): error C2447: '{' : missing function header (old-style formal list?)
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(445): error C2146: syntax error : missing ';' before identifier 'make_error_code'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(445): error C2433: 'error_code' : 'inline' not permitted on data declarations
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(445): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error(445): error C2086: 'int std::error_code' : redefinition
------解决思路----------------------
缺少头文件、源代码文件损坏,或者你的程序是VC写的还是别的语言写的。
------解决思路----------------------
全是VC++的
------解决思路----------------------
源码,文件格式破坏了,如原来是GB2312的,用VS2010变成了UTF-8了。
------解决思路----------------------
主要是语言版本升级后语法略有差异引起的。
------解决思路----------------------
按照新的语法规则修改