--------------------Configuration: canvas - Win32 Debug-------------------- Compiling... canvasFrame.cpp c:\program files\microsoft visual studio\vc98\include\crtdbg.h(536) : error C2833: 'operator DEBUG_NEW' is not a recognized operator or type c:\program files\microsoft visual studio\vc98\include\crtdbg.h(536) : error C2059: syntax error : 'newline' c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(674) : error C2833: 'operator DEBUG_NEW' is not a recognized operator or type c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(674) : error C2059: syntax error : 'newline' c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(674) : error C2238: unexpected token(s) preceding ';' c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(675) : error C2833: 'operator DEBUG_NEW' is not a recognized operator or type c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(675) : error C2059: syntax error : 'newline' c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(675) : error C2238: unexpected token(s) preceding ';' c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(683) : error C2833: 'operator DEBUG_NEW' is not a recognized operator or type c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(683) : error C2059: syntax error : 'newline' c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(683) : error C2238: unexpected token(s) preceding ';' c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(1631) : error C2833: 'operator DEBUG_NEW' is not a recognized operator or type c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(1631) : error C2059: syntax error : 'newline' c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(122) : error C2059: syntax error : 'string' c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(123) : error C2091: function returns function c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(123) : error C2802: static member 'operator new' has no formal parameters c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(123) : error C2333: 'new' : error in function declaration; skipping function body c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(131) : error C2059: syntax error : 'string' c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(131) : error C2091: function returns function c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(131) : error C2802: static member 'operator new' has no formal parameters c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(135) : error C2059: syntax error : 'string' c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(135) : error C2091: function returns function c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(135) : error C2556: 'void *(__cdecl *__stdcall CNoTrackObject::operator new(void))(unsigned int,const char *,int)' : overloaded function differs only by return type from 'void *(__c decl *__stdcall CNoTrackObject::operator new(void))(unsigned int)' c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(131) : see declaration of 'new' d:\vc\ch07\ch7-5\canvasframe.cpp(17) : fatal error C1903: unable to recover from previous error(s); stopping compilation Error executing cl.exe. Creating browse info file... BSCMAKE: error BK1506 : cannot open file '.\Debug\canvasFrame.sbr': No such file or directory Error executing bscmake.exe.
canvas.exe - 25 error(s), 0 warning(s) ------------------------------------------------------------------------------------------------------------------------------- 总是出现这个错误,不一定什么时候,有时加个变量就出现这个错误,可是变量删除了错误还在,而且怎么改都不能运行,只有重来。但是加同样的东西,有时出现这个错误,有时没有错误,究竟怎么回事啊,请各位老大指点指点小弟吧,小弟在这里先谢过了。