fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701)

G

Guest

Hello

I'm using the latest version of Visual Studio 2003 version 7.1.3088, .net framework 1.1.4322 and I've some problem compiling a project, it give me the error

c:\build\main\.....\methodeInc.h(36) : fatal error C1001: INTERNAL COMPILER ERRO
(compiler file 'msc1.cpp', line 2701)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more informatio

I was able to reproduce the behaviour with this very little example, hope it helps you to fix the compiler

class

int i
public
B(int f) : i(f) {}
}

typedef B TB

class TB; <-------- that's the line that cause the compiler erro

Best Regards

- mn
 
H

Hendrik Schober

Marco Nova said:
[...]
I was able to reproduce the behaviour with this very little example, hope it helps you to fix the compiler.

class B
{
int i;
public:
B(int f) : i(f) {};
};

typedef B TB;

class TB; <-------- that's the line that cause the compiler error

Interesting. I found that, for VC7.1, this
is enough:

class B;
typedef B TB;
class TB;

I have Whidbey installed here, so I don't
know whether that's already fixed.
Best Regards,

- mn

Schobi

--
(e-mail address removed) is never read
I'm Schobi at suespammers dot org

"Sometimes compilers are so much more reasonable than people."
Scott Meyers
 
H

Hendrik Schober

Hendrik Schober said:
[...]

I have Whidbey installed here [...]

Er, I don't have.

Schobi


--
(e-mail address removed) is never read
I'm Schobi at suespammers dot org

"Sometimes compilers are so much more reasonable than people."
Scott Meyers
 
C

Carl Daniel [VC++ MVP]

Hendrik said:
Marco Nova said:
[...]
I was able to reproduce the behaviour with this very little example,
hope it helps you to fix the compiler.

class B
{
int i;
public:
B(int f) : i(f) {};
};

typedef B TB;

class TB; <-------- that's the line that cause the
compiler error

Interesting. I found that, for VC7.1, this
is enough:

class B;
typedef B TB;
class TB;

The code is, of course, illegal. One ramification of that is that fixing
the compiler to give a better error message is a low priority fix.

I can report, however, that this particular ICE has in fact been fixed in
Whidbey.

-cd
 
C

Carl Daniel [VC++ MVP]

IceJug said:
Can MS just release a Service Pace as they've done with VC6.0?

(Note that there's no "just" about it. It takes several months to put
together and test a service pack for Visual Studio).

Service packs for Visual Studio are by definition nothing more than
collections of QFEs (or "HotFixes"). (This is different from Windows and IE
service packs which frequently add significant new functionality).

By definition then, in order for a fix to be included in a Service Pack, it
must first be included in a QFE. Fixes are released as QFEs only as the
result of customers calling Product Support and requesting a fix for a
particular bug.

So, if you want a service pack fix for this bug, call Product Support.
Again though, given that the ICE occurs when parsing illegal code, it's less
likely that a QFE will actually be made (priority is, understandably, given
to fixing bugs that result in code that doesn't execute correctly, or that
result in compiler errors on valid source code).

-cd
 
W

William DePalo [MVP VC++]

Rudy Ray Moore said:
That sounds pretty easy. What's the number?

Click Technical Support on the help menu. In the U.S. I think the number is

(800) 936-5800

Be sure to mention you are calling about a bug, not requesting paid support.

Regards,
Will
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top