我尝试使用 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
usbcore.h 的第 18 行包含 include 指令:
18: #include "usbiface.h"
空的或不存在的 usbiface.h 会产生相同的错误。我评论了这一行并得到了同样的错误,但对于下一个包含文件。
总结一下:#include
每个引用公共项目头的指令都会发生编译器错误。