
C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 1794)
Ok, but the syntax is ok.
In a demo program I changed the length of the name of a class (here TMyB)
and we had the INTERNAL COMPILER ERROR or not. I beleve there is no naming
conflict with "THugoMuellersLieblingskuh"
Quote:
> Hallo Klaus,
> the error C1001 is always thrown when the compile can't figure out whats
> wrong. For that there isn't a Manual to resolve this problem.
> I've got that error when i imported ADO and SQLDMO-Dlls at the same time.
> The resolution was that SQLDMO creates the namespace
> SQLDMO and ADO has a enum called SQLDMO after renaming the Namespace all
> worked fine.
> Du mu?t es mit Try-and-Error versuchen.
> Gr?e
> Markus
> > Who knows a solution?
> > My Code results in
> > fatal error C1001: INTERNER COMPILER- FEHLER
> > (Compiler-Datei "msc1.cpp", Zeile 1794)
> > Bitte w?hlen Sie im Men "?" von Visual C++
> > den Befehl "Software Service", oder ?ffnen Sie die Hilfedatei
fr
> > den Software Service, um weitere Informationen zu erhalten
> > Fehler beim Ausfhren von cl.exe.
> > The structure is like the following example. Much more larger and
> complexer.
> > The container is a part of a 3rd party library, based on other
templates.
> I
> > can't put the full code here.
> > Uning a simple type on template argument b works. Changing the length of
> the
> > typename only, results in the compiler error.
> > Billy Zhang wrote
> > "Using large macros you can get an C1001: INTERNAL COMPILER ERROR
> (compiler
> > file 'msc1.cpp', line 1794) The reason for this in overlow in an
internal
> > buffer of the parser.
> > To workaround the problem try to reduce the size of the macro or the
used
> > path in the project."
> > I can't reduce the code (typenames) in the library.
> > I'm using MSVC6 SP5. Who knows a solution?
> > template <class a,
> > class b,
> > class c,
> > class d>
> > class TMyContainer {
> > public:
> > void DoIt(void);
> > };
> > class TMyA {
> > };
> > class TMyB {
> > };
> > class TMyC {
> > };
> > class TMyD {
> > };
> > Klaus Drechsel