致命错误C1001:编译器中发生了内部错误 [英] fatal error C1001: An internal error has occurred in the compiler
问题描述
在x64 plattform上编译时出现以下错误:
While compiling on x64 plattform I am getting following error:
c:\codavs05\hpsw-sc \ovpacc\ tools \codaaccesstest\coda_access.cpp(1572):致命错误C1001:编译器中发生内部错误。
(编译器文件'f:\dd\vctools\compiler\utc\src\p2\sizeopt.c',第55行)
要解决此问题,请尝试简化或更改上述位置附近的程序。
请选择Visual C ++上的技术支持命令
帮助菜单,或打开技术支持帮助文件获取更多信息
------ Build started:Project:asyncexample,Configuration:Release Win32 ------
如果我将设置更改为预处理文件(是),我没有收到任何错误。
If I change settings to preprocessor file (Yes) i am not getting any error.
关于我的环境:将Microsoft Visual Studio 2005升级到2010
About my environment: Upgrading Microsoft Visual Studio 2005 to 2010
请帮助。
推荐答案
我在VC ++中遇到过这个错误。执行以下步骤。他们总是帮助我解决这个问题:
I’ve encountered this error many times in VC++. Do the following steps. They’ve always helped me with this issue:
- 看看确切的位置,编译错误指出。
- 查找在该位置使用的任何外部类型或类。
- 更改步骤2中找到的那些文件的包含路径顺序,然后重新生成解决方案。
- 我希望有帮助!!!!
- Take a look at the exact location, pointed out by compiler error.
- Find any external types or classes used there at that location.
- Change the order of "include path" of those files found in step 2 and rebuild the solution.
- I hope that help !!!!
这篇关于致命错误C1001:编译器中发生了内部错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!