/program files/microsoft visual studio/vc98/include/crtdbg.h(536) : error C2833: 'operator DEBUG_NEW ' is not a recognized operator or type
d:/program files/microsoft visual studio/vc98/include/crtdbg.h(536) : error C2059: syntax error : 'newline '
d:/program files/microsoft visual studio/vc98/mfc/include/afx.h(674) : error C2833: 'operator DEBUG_NEW ' is not a recognized operator or type
虽然通过Rebuild all可以解决,但是这只是暂时的。出现这个问题的原因是VC编译器的一个Bug,可以通过删除Debug 和Release目录下的.pch文件来解决。
本文介绍了VC编译器中关于DEBUG_NEW操作符的一个Bug及其解决方案。该问题会导致编译错误C2833和C2059,可通过删除Debug和Release目录下的.pch文件来解决。
2752

被折叠的 条评论
为什么被折叠?



