代码非常简单:
int main(void){
return 0;
}编译错误是这样的:
1>------ Build started: Project: Project1, Configuration: Debug Win32 ------
1> Source.cpp
1>c:\userdata\zdck\documents\visual studio 2013\projects\project1\project1\source.cpp : fatal error C1001: An internal error has occurred in the compiler.
1> (compiler file 'f:\dd\vctools\compiler\cxxfe\sl\p1\c\p0io.c', line 2807)
1> To work around this problem, try simplifying or changing the program near the locations listed above.
1> Please choose the Technical Support command on the Visual C++
1> Help menu, or open the Technical Support help file for more information
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========我没有驱动程序F,但在f:\dd\vctools\编译器\cxxfe\sl\p1\c\p0io.c??中出现错误。
相信我,我已经查看了几十篇标题为"C1001废话……“的帖子。到处都是,但没有人为我工作。
我的VS: V2013版本12.0.40629.00更新5我的操作系统: win 10,64位

发布于 2020-05-29 17:39:50
编译器文件p0io.c相关的error C1001主要是由于在Region Settings中启用了Use Unicode UTF-8 for worldwide language support而导致的。您可以查看有关具体原因的link。您可以单击Time &Language -> Region-> Additional date, time, ®ional settings-> Region-> Administrative->Change system locale并关闭UTF-8。
如果这个错误无法修复,我建议您将VS版本更新到VS2019。
https://stackoverflow.com/questions/62077945
复制相似问题