VS2010 基于MFC4.2开发
本人用VS2010编译一个基于MFC4.2的程序,但老是出现以下错误,哪位高手知道指点迷津...
1>d:\program files\microsoft visual studio\vc98\mfc\include\afxtempl.h(776): warning C4346: 'CList<TYPE,ARG_TYPE>::CNode' : dependent name is not a type
1> prefix with 'typename' to indicate a type
1>d:\program files\microsoft visual studio\vc98\mfc\include\afxtempl.h(776): error C2143: syntax error : missing ';' before '*'
1>d:\program files\microsoft visual studio\vc98\mfc\include\afxtempl.h(776): fatal error C1903: unable to recover from previous error(s); stopping compilation
[解决办法]