C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 1794) 
Author Message
 C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 1794)

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);

Quote:
};

class TMyA {

Quote:
};

class TMyB {

Quote:
};

class TMyC {

Quote:
};

class TMyD {

Quote:
};

Klaus Drechsel


Sun, 06 Feb 2005 19:58:29 GMT  
 C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 1794)
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



Quote:
> 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



Sun, 06 Feb 2005 20:56:09 GMT  
 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



Sun, 06 Feb 2005 23:58:44 GMT  
 C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 1794)
Hi,
removing the Compiler option "/Gm" helps!
Why? Don't  know.
I hope this can be a usefull tip for someone.
Klaus



Quote:
> 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



Tue, 08 Feb 2005 01:20:52 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. INTERNAL COMPILER ERROR - compiler file 'msc1.cpp', line 1794)

2. C1001: INTERNAL COMPILER ERROR (compiler files 'msc1.cpp', line 2844)

3. INTERNAL COMPILER ERROR file 'msc1.cpp', line 2701

4. fatal error C1001 (msc1.cpp line 1794)

5. INTERNAL COMPILER ERROR - msc1.cpp', line 2844

6. Intermittent C1001 Internal Compiler Error (msc1.cpp 2844)

7. C1001 (comiler file 'msc1.cpp',line 1188)

8. Compiler error in compiler file msc1.cpp line 1786

9. internal compiler error at msc1.cpp line 2763

10. VC++ 'INTERNAL COMPILER ERROR' with ADO

11. fatal error C1001: INTERNAL COMPILER ERROR

12. fatal error C1001: INTERNAL COMPILER ERROR

 

 
Powered by phpBB® Forum Software