致命错误 C1001:内部编译器错误(编译器文件“msc1.cpp”,第 1794 行)

Ser*_*bry 5 c++ include visual-studio-6 internal-compiler-error

我尝试使用 Visual Studio 6 SP6 编译一个项目并得到以下结果:

usbcore.h(18) : fatal error C1001: INTERNAL COMPILER ERROR
    (compiler file 'msc1.cpp', line 1794)
     Please choose the Technical Support command on the Visual C++
     Help menu, or open the Technical Support help file for more information
Run Code Online (Sandbox Code Playgroud)

usbcore.h 的第 18 行包含 include 指令:

18: #include "usbiface.h"
Run Code Online (Sandbox Code Playgroud)

空的或不存在的 usbiface.h 会产生同样的错误。我评论了这一行并得到了相同的错误,但对于下一个包含文件。

总结一下:每个#include引用公共项目标头的指令都会发生编译器错误。