在x64平台上编译时,我遇到以下错误:
c:\codavs05\hpsw-sc\ovpacc\tools\codaaccesstest\coda_access.cpp(1572): fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'f:\dd\vctools\compiler\utc\src\p2\sizeopt.c', line 55)
To work around this problem, try simplifying or changing the program near the locations listed above.
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
------ Build started: Project: asyncexample, Configuration: Release Win32 ------如果我将设置更改为预处理器文件(是),则不会收到任何错误。
关于我的环境:将Microsoft Visual Studio 2005升级到2010
请帮帮忙。
发布于 2017-08-02 16:36:55
当我在Windows中进行本地构建时,我遇到过VS2015的这个问题。
为了解决这个问题,我删除了build文件夹(输出目录,如属性/常规中所示),并重新生成了项目。
当在构建过程中发生奇怪的事情时,这似乎总是有用的。
发布于 2011-08-16 18:17:41
我在VC++中遇到过很多次这个错误。执行以下步骤。他们有时会帮助我解决这个问题:
发布于 2014-02-03 20:27:03
我在使用VC2012时也遇到了同样的错误。将项目属性“优化”设置为“已禁用(/Od)”解决了此问题。
https://stackoverflow.com/questions/7076494
复制相似问题