473,657 Members | 2,609 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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
Nov 17 '05 #1
9 15303
Marco Nova <no*******@remo vethis.hotmail. com> wrote:
[...]
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

--
Sp******@gmx.de is never read
I'm Schobi at suespammers dot org

"Sometimes compilers are so much more reasonable than people."
Scott Meyers
Nov 17 '05 #2
Hendrik Schober <Sp******@gmx.d e> wrote:
[...]

I have Whidbey installed here [...]


Er, I don't have.

Schobi
--
Sp******@gmx.de is never read
I'm Schobi at suespammers dot org

"Sometimes compilers are so much more reasonable than people."
Scott Meyers
Nov 17 '05 #3
Hendrik Schober wrote:
Marco Nova <no*******@remo vethis.hotmail. com> wrote:
[...]
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
Nov 17 '05 #4
Can MS just release a Service Pace as they've done with VC6.0?

"Carl Daniel [VC++ MVP]" <cp************ *************** **@mvps.org.nos pam>
дÈëÏûÏ¢ÐÂÎÅ:OC **************@ tk2msftngp13.ph x.gbl...

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.

Nov 17 '05 #5
IceJug wrote:
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
Nov 17 '05 #6
> result of customers calling Product Support and requesting a fix for a
particular bug.


That sounds pretty easy. What's the number?
Nov 17 '05 #7
"Rudy Ray Moore" <ru*******@hotm ail.com> wrote in message
news:er******** ******@TK2MSFTN GP12.phx.gbl...
result of customers calling Product Support and requesting a fix for a
particular bug.


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
Nov 17 '05 #8
Rudy Ray Moore <ru*******@hotm ail.com> wrote:
result of customers calling Product Support and requesting a fix for a
particular bug.


That sounds pretty easy. What's the number?

This

http://support.microsoft.com/default...;OfferProPhone

I found about a dozen clicks from the
MS home page. I'm not sure, though,
that this is what Carl suggested.

Schobi

--
Sp******@gmx.de is never read
I'm Schobi at suespammers dot org

"Sometimes compilers are so much more reasonable than people."
Scott Meyers
Nov 17 '05 #9
Rudy Ray Moore wrote:
result of customers calling Product Support and requesting a fix for
a particular bug.


That sounds pretty easy. What's the number?


See http://support.microsoft.com

Note that support calls generally incur charges (they cost money), and that
those charges are normally waived if the call is exclusively related to a
bug in a Microsoft product.

-cd
Nov 17 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
8617
by: paul calvert | last post by:
I hope somewhere here has encountered and solved a similar problem in the past. 1) on a new Win2000 PC: installed Visual C++ 6.0 download & install single file Service Pack 5.0 2) try to build my gui and dll projects, whose project, workspace, source files all resided on network drive mapped to H. The H mapping,
0
1708
by: JimmyS | last post by:
I am getting this error .. c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\stl_alloc.h(305) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701) when including any files for templates .. #include <fstream> , #include <string>, #include <vector>, #include <list> etc... The funny thing is that was not happening before, it really used to work fine with templates. By removing the STL include...
5
4910
by: Michael Kennedy [UB] | last post by:
Hi, I would like to report some weird behavior which results in an internal compiler error in VS.NET 2003 (VC++). I have an ATL COM dll project which also uses MFC. This solution (workspace at the time) was created in VS 6.0 using the current versions of ATL and MFC at that time. Then it was upgraded to VS.NET 2002 and the respective versions of ATL and MFC. So far everything has been fine.
4
3045
by: cgparis | last post by:
Dear forum members, I am trying to compile C++ code under MS Visual Studio .NET 2003, which references the latest Xerces C++ release library (2.6.0). This Xerces release was made available recently by the Apache organization. I've defined a system variable on windows as follows: XERCESCROOT: <...>\xerces-c_2_6_0-windows_nt-msvc_60
1
264
by: Ray Mitchell | last post by:
I have Microsoft Visual C++ .NET 69462-112-0620947-18487 (VS 2003). When I compile my C++ console application program I get the following: C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701) Has anyone heard of this bug/feature before? Thanks, Ray Mitchell
2
2949
by: Itjalve | last post by:
This gives me a fatal error. I'm using .NET VC7.1 and made a win32 consol app, I have no problems with VC6. Debug build. I have removed nearly all my code this is whats left. From the beginning the template was defined in a .h file, but that has no effect, same error. I have seen when searching for fatal error that there are some problems with templates and optimization, but nothing as simple like this. I'm i doing something wrong?
4
5644
by: ARF | last post by:
I'm testing AutoCAD 2005 automation via VS2005 Pro C++/CLR and I'm getting fatal compiler errors. I start with a default C++/CLR class library project and modify it by adding the following references: acdbmgd.dll acmgd.dll the entire source for the default library header file is:
1
2488
by: ishbuu | last post by:
Hi all. I've been trying to get a program I wrote on my old machine to compile on this one, but VS2k5 hasn't been able to finish the thing. I was using the same operating system/hardware/version on my old machine, I just replaced the Harddrives after my old one with the OS failed. No matter how many tweaks I make to the build setup it always returns fatal error C1001: An internal error has occurred in the compiler. 7>(compiler file...
1
3764
by: kvarada | last post by:
Hello Experts, I am building my application on WinNT.4.0_i386_MSVC.7.1 platform. When I build the application on a stand alone machine, it builds fine. But when I build the same application from a linux box using rsh it gives me the errors below Microsoft (R) Development Environment Version 7.10.3077. Copyright (C) Microsoft Corp 1984-2001. All rights reserved. ------ Build started: Project: SigComp, Configuration: Release Win32 ------...
0
8397
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8310
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6167
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4158
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2731
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1620
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.