fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 1794)
c++, include, internal-compiler-error, visual-studio-6
Solution
I figured out what caused that error. One of the include paths (passed to a compiler with the /I switch) had a trailing backslash.
The compiler cmdline is: `CPP /nologo /MT /W3 /GX /Zi /Od /I "$(ZLIB_PATH)" /I "..\headers"`
and `ZLIB_PATH` had a trailing backshlash. Removing that backslash solved the problem.
Problem
I tried to compile a project with Visual Studio 6 SP6 and got the following: ``` 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 ``` Line 18 of usbcore.h contains the include directive: ``` 18: #include "usbiface.h" ``` Empty or non-existing usbiface.h produces the same error. I commented this line and got the same error but for the next include file. To sum this up: the compiler error occurs for each `#include` directive that refers to the common project headers.