请教一个令人费解的错误(在线等ing,下线结贴)
wbcuc 2007-12-10 03:30:05 一下是错误信息,以前没碰到过的:
Compiling resources...
Compiling...
StdAfx.cpp
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(629) : error C2059: syntax error : '?'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(629) : error C2065: '_Y' : undeclared identifier
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(629) : error C2275: '_A' : illegal use of this type as an expression
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(629) : error C2143: syntax error : missing ',' before ')'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(631) : error C2951: template declarations are only permitted at global or namespace scope
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(632) : error C2976: '_Tree' : too few template arguments
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(602) : see declaration of '_Tree'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(633) : error C2143: syntax error : missing ',' before '<='
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(633) : error C2433: 'bool' : 'inline' not permitted on data declarations
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(633) : error C2059: syntax error : 'operator <op>'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(635) : error C2143: syntax error : missing ')' before '{'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(635) : error C2059: syntax error : '{'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(635) : error C2143: syntax error : missing ';' before '{'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(635) : error C2447: missing function header (old-style formal list?)
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(636) : error C2954: template definitions cannot nest
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\map(44) : error C2039: 'reference' : is not a member of '_A'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(632) : see declaration of '_A'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\map(140) : see reference to class template instantiation 'std::map<_K,_Ty,_Pr,_A>' being compiled
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\map(44) : error C2146: syntax error : missing ';' before identifier '_Tref'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\map(140) : see reference to class template instantiation 'std::map<_K,_Ty,_Pr,_A>' being compiled
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\map(44) : error C2501: '_Tref' : missing storage-class or type specifiers
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\map(140) : see reference to class template instantiation 'std::map<_K,_Ty,_Pr,_A>' being compiled
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\map(48) : error C2040: 'reference' : ' &' differs in levels of indirection from 'int'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\map(140) : see reference to class template instantiation 'std::map<_K,_Ty,_Pr,_A>' being compiled
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\map(92) : error C2143: syntax error : missing ';' before '['
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\map(140) : see reference to class template instantiation 'std::map<_K,_Ty,_Pr,_A>' being compiled
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\map(92) : error C2501: '_Tref' : missing storage-class or type specifiers
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\map(140) : see reference to class template instantiation 'std::map<_K,_Ty,_Pr,_A>' being compiled
Error executing cl.exe.
WDBG.exe - 20 error(s), 0 warning(s)