INTERNAL COMPILER ERROR: compiler file 'msc1.cpp', line 1794

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Alessio Calcagno (Calcagno_at_discussions.microsoft.com)
Date: 08/17/04


Date: Tue, 17 Aug 2004 05:39:01 -0700

I get this error on complex include paths when a file includes a file in a
different directory (i.e. #include "..\..\Alib\a.h" ) that includes a file in
a different directory ... and so on).

You can reproduce this simply by creating an MFC exe project named
"ComplexIncludePath" and adding the following statement to the file
"ComplexIncludePath.cpp":

#include
"..\ComplexIncludePath\..\ComplexIncludePath\..\ComplexIncludePath\..\ComplexIncludePath\..\ComplexIncludePath\..\ComplexIncludePath\..\ComplexIncludePath\..\ComplexIncludePath\..\ComplexIncludePath\ComplexIncludePath.h"

Obviously this is meaningless, but illustrates the point.

We use VC++6 SP6.
Any advice other than to rearchitect the whole source tree and/or change
development platform?