473,406 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'f:\vs70builds\3077\vc\Compiler\Utc\src\P2\main.c' , line 148)

Hi folks,

I hope that this is the correct group for these things, apologies if not.

I've got a strange compiler error. It appears to be similar to the issue
described in knowledgebase article 320004 except that particular problem was
fixed in .NET 2003, according to the article.

The error I get is:

fatal error C1001: INTERNAL COMPILER ERROR (compiler file
'f:\vs70builds\3077\vc\Compiler\Utc\src\P2\main.c' , line 148)

Please choose the Technical Support command on the Visual C++

Help menu, or open the Technical Support help file for more information

If I follow the steps outlined in 320004, #pragma optimize("g", off) and on
around the affected function the problem stops. The error does not show in
debug builds, so this appears to be an optimisation error. Also in common
with 320004, there is a while loop involved. I've tried rearranging the code
a bit with no luck, and various optimisation changes didn't fix it (bar
switching 'em all off).

I've done various searches and found compiler errors that refer to line 146
(mostly .NET 2002) of main.c and a bunch referring to 148, some of which are
related to throw/catch (which is not the case here).
This code compiled and ran OK under VC6 (SP5). We're currently evaluating
our MSDN version of .NET2003 with compiles under both versions to check that
everything still works OK under the new compiler before doing a full
upgrade. With the #pragmas around the code, the code still compiles OK under
both versions but I was curious as to whether there is a fix available for
this problem or if there are any more details?

Cheers,

PufferFish.


Nov 17 '05 #1
10 3237
You may supply the problematic line 148 and its context so that we can
actually know what is going on. It also appears that you may have selected
incorrect optimization options. Why don't you also supply the command line
you used to compile the code.

ben
Hi folks,

I hope that this is the correct group for these things, apologies if not.

I've got a strange compiler error. It appears to be similar to the issue
described in knowledgebase article 320004 except that particular problem was fixed in .NET 2003, according to the article.

The error I get is:

fatal error C1001: INTERNAL COMPILER ERROR (compiler file
'f:\vs70builds\3077\vc\Compiler\Utc\src\P2\main.c' , line 148)

Please choose the Technical Support command on the Visual C++

Help menu, or open the Technical Support help file for more information

If I follow the steps outlined in 320004, #pragma optimize("g", off) and on around the affected function the problem stops. The error does not show in
debug builds, so this appears to be an optimisation error. Also in common
with 320004, there is a while loop involved. I've tried rearranging the code a bit with no luck, and various optimisation changes didn't fix it (bar
switching 'em all off).

I've done various searches and found compiler errors that refer to line 146 (mostly .NET 2002) of main.c and a bunch referring to 148, some of which are related to throw/catch (which is not the case here).
This code compiled and ran OK under VC6 (SP5). We're currently evaluating
our MSDN version of .NET2003 with compiles under both versions to check that everything still works OK under the new compiler before doing a full
upgrade. With the #pragmas around the code, the code still compiles OK under both versions but I was curious as to whether there is a fix available for
this problem or if there are any more details?

Cheers,

PufferFish.

Nov 17 '05 #2
"benben" <be******@yahoo.com.au> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
You may supply the problematic line 148 and its context so that we can
actually know what is going on. It also appears that you may have selected
incorrect optimization options. Why don't you also supply the command line
you used to compile the code.


Hi,

Many thanks for your response. The "line 148" isn't in my code; I don't have
an F drive. It refers to Microsoft's source base for Visual C; so the main.c
and the error is connected with that. If you paste the actual error string
into google, you'll see what I mean.

The line of actual code that bails this is:

if ( (ERT_INFO == type) && (op_flags[EHFL_SUPRESSINFO]) )
return (false);

.... which is clearly mighty harmless. So something else somewhere else is
setting this up to happen. I've not been able to distill it into a separate
code-base that specifically causes the error to occur.

The compilation command line is:

/O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /FD /EHsc /MT /J
/YX"stdafx.h" /Fp".\Release/cerrtest.pch" /Fo".\Release/" /Fd".\Release/"
/FR".\Release/" /W3 /nologo /c /Zi

PufferFish.
Nov 17 '05 #3
PufferFish wrote:
fatal error C1001: INTERNAL COMPILER ERROR (compiler file
'f:\vs70builds\3077\vc\Compiler\Utc\src\P2\main.c' , line 148)

This code compiled and ran OK under VC6 (SP5). We're currently
evaluating our MSDN version of .NET2003 with compiles under both
versions to check that everything still works OK under the new
compiler before doing a full upgrade. With the #pragmas around the
code, the code still compiles OK under both versions but I was
curious as to whether there is a fix available for this problem or if
there are any more details?


There are no published bug fixes for VS.NET 2003. There may be a hotfix
available for this particular ICE, but you'd have to contact product support
to find out - only PSS can give out hotfixes.

-cd
Nov 17 '05 #4
"Carl Daniel [VC++ MVP]" wrote:

PufferFish wrote:
fatal error C1001: INTERNAL COMPILER ERROR (compiler file
'f:\vs70builds\3077\vc\Compiler\Utc\src\P2\main.c' , line 148)

This code compiled and ran OK under VC6 (SP5). We're currently
evaluating our MSDN version of .NET2003 with compiles under both
versions to check that everything still works OK under the new
compiler before doing a full upgrade. With the #pragmas around the
code, the code still compiles OK under both versions but I was
curious as to whether there is a fix available for this problem or if
there are any more details?


There are no published bug fixes for VS.NET 2003. There may be a hotfix
available for this particular ICE, but you'd have to contact product support
to find out - only PSS can give out hotfixes.

-cd


This policy of only providing fixes after going through (paid! then refunded)
support makes no sense to me.
Nov 17 '05 #5
"Carl Daniel [VC++ MVP]" <cp*****************************@mvps.org.nospam >
wrote in message news:ek*************@TK2MSFTNGP12.phx.gbl...
There are no published bug fixes for VS.NET 2003. There may be a hotfix
available for this particular ICE, but you'd have to contact product support to find out - only PSS can give out hotfixes.


Ok, that's pretty much what I thought -- I went through the Microsoft
Support web site looking for patches, fixes, etc. I'll let this thread soak
in for a few days to see if anyone knows of a PSS fix and then contact
Microsoft if not.

Many thanks for your reply,

PufferFish.
Nov 17 '05 #6
Julie wrote:
This policy of only providing fixes after going through (paid! then
refunded) support makes no sense to me.


Don't tell me - tell Microsoft.

-cd
Nov 17 '05 #7
"Carl Daniel [VC++ MVP]" <cp*****************************@mvps.org.nospam > wrote in message
news:ec**************@tk2msftngp13.phx.gbl...
Don't tell me - tell Microsoft.

-cd


You'd probably have to pay to tell them ;)

--
Adam Clauss
ca*****@tamu.edu
Nov 17 '05 #8

"PufferFish" <tropical_puffer_fish@ab_so_lutely_no_where> wrote in message
news:Ox**************@TK2MSFTNGP12.phx.gbl...
"Carl Daniel [VC++ MVP]" <cp*****************************@mvps.org.nospam >
wrote in message news:ek*************@TK2MSFTNGP12.phx.gbl...
There are no published bug fixes for VS.NET 2003. There may be a hotfix
available for this particular ICE, but you'd have to contact product support
to find out - only PSS can give out hotfixes.


Ok, that's pretty much what I thought -- I went through the Microsoft
Support web site looking for patches, fixes, etc. I'll let this thread

soak in for a few days to see if anyone knows of a PSS fix and then contact
Microsoft if not.

Many thanks for your reply,


You still probably wouldn't be able to get hold of a fix if there is one
without contacting Microsoft - such is the bizarre nature of the system. If
you need it fixing now, you might as well get in touch with them now.

Steve
Nov 17 '05 #9
"Carl Daniel [VC++ MVP]" wrote:

Julie wrote:
This policy of only providing fixes after going through (paid! then
refunded) support makes no sense to me.


Don't tell me - tell Microsoft.

-cd


Don't get me wrong -- I wasn't harping on you in the least, just expressing it
to the 'world'.
Nov 17 '05 #10
>
You still probably wouldn't be able to get hold of a fix if there is one
without contacting Microsoft - such is the bizarre nature of the system. If
you need it fixing now, you might as well get in touch with them now.


But be prepared for them to ask you for a business case indicating how this
bug affects your business before they even consider providing a fix at all :o(

I'm not sour, but they still haven't fixed the MSXML.dll for WinCE -and of
course now they certainly won't.
Nov 17 '05 #11

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

Similar topics

6
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...
0
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)...
9
by: Marco Nova | last post by:
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 ...
4
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...
2
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...
4
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...
1
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...
1
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...
1
by: Anonymous | last post by:
My code has suddenly stopped compiling after some refactoring I carried out last week. I am using VC8 on W2K professional I get the following cryptic error: Error 77 fatal error C1001: An...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.