在VisualStudio2019版本16.7.2中构建时,我收到了一个C1001错误。这是一个以前构建良好的C++项目,直到我今天尝试构建一个更改集为止。
确切的错误如下:(对特定于项目的路径进行了修改)
1>d:\work\[...](82): fatal error C1001: An internal error has occurred in the compiler.
1>(compiler file 'd:\agent\_work\3\s\src\vctools\compiler\utc\src\p2\main.c', line 187)注:
发布于 2020-08-28 19:33:11
建议
请:
更新您的文章
通知微软支持的
MSVS >帮助>发送反馈>报告问题
这里是MSVS支持选项的完整列表:https://visualstudio.microsoft.com/vs/support/
更新:
谢谢您复制/粘贴准确的错误消息:
1>d:\work\[...](82): fatal error C1001: An internal error has occurred in the compiler.
1>(compiler file 'd:\agent\_work\3\s\src\vctools\compiler\utc\src\p2\main.c', line 187)这是导致错误C1001:vctools\compiler\utc\src\p2\main.c的MSVS文件。
这是现有的Microsoft故障报告:
嗨罗杰,
谢谢你报告了这个bug,并且包含了一个非常好的自我包含的复制,如此之快。我已经调查过了,这似乎是与https://developercommunity.visualstudio.com/content/problem/209359/ice-with-fpfast-in-156-and-msvc-daily-1413263051-p.html相同的问题。
我把它作为一个副本来结束,这样人们就可以在同一个位置收集上下文和工作建议,而当另一个bug被标记为修复时,您可以假设这个错误也是这样。
再次感谢,
阿伦·戈伦斯坦
软件工程师II
在搜索此错误消息/源模块时,我还发现了以下内容:https://stackoverflow.com/a/63435683/421195
如果其中任何一个是为您工作的,请发回!
https://stackoverflow.com/questions/63639655
复制相似问题