473,405 Members | 2,261 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,405 software developers and data experts.

Internal Compiler Error

I am getting an Internal Compiler Error on two template
functions in VC++ 7.1. The weird thing is that in another
project these functions compile and run fine. The place
they are instantiated is fairly trivial and I don't know
how to rewrite it to elliminate the fault. Any suggestions?
Nov 17 '05 #1
7 1819
>I am getting an Internal Compiler Error on two template
functions in VC++ 7.1. The weird thing is that in another
project these functions compile and run fine. The place
they are instantiated is fairly trivial and I don't know
how to rewrite it to elliminate the fault. Any suggestions?


Can you present a stand-alone code snippet that illustrates the ICE?

Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
Nov 17 '05 #2
Can you present a stand-alone code snippet that illustrates the ICE?


just down the following sgi's STL imp.
http://www.sgi.com/tech/stl/stdlib_20000608.zip
and vc7.1 will ICE.

And In my project ,when I named a class GRect,It ICE,but when I changed to
GNormalRect, It looks well.....


Nov 17 '05 #3
>just down the following sgi's STL imp.
http://www.sgi.com/tech/stl/stdlib_20000608.zip
and vc7.1 will ICE.


Downloading it won't cause an ICE. :)

Is this meant to be a repro of the original poster's point?

Clearer instructions are needed - please.

Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
Nov 17 '05 #4

"David Lowndes" <da****@mvps.org>
??????:bu********************************@4ax.com. ..
just down the following sgi's STL imp.
http://www.sgi.com/tech/stl/stdlib_20000608.zip
and vc7.1 will ICE.


Downloading it won't cause an ICE. :)

Sorry, My mean is that download it and compile it with vc7.1,and
*then* vc7.1 will ICE.

Though the P.J's STL ships with VC7.1 is great,but I'd like to try
some other's STL's imp.and the above URL links to a version of
SGI's STL.
Nov 17 '05 #5
>Sorry, My mean is that download it and compile it with vc7.1,and
*then* vc7.1 will ICE.


OK, but this hasn't anything to do with the original posters issue -
has it?

I suspect MS may be aware of any popular standard package issues.

FWIW, I downloaded it and tried building it via the makefile.mak - it
didn't get very far, failing with:

\time_facets.cxx(19) : fatal error C1083: Cannot open include file:
'stl_time_facets.h': No such file or directory

Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
Nov 17 '05 #6
\time_facets.cxx(19) : fatal error C1083: Cannot open include file:
'stl_time_facets.h': No such file or directory


before you comile it , make sure you are not using P.J's STL
(just change the include dir will ok)
Nov 17 '05 #7
>> \time_facets.cxx(19) : fatal error C1083: Cannot open include file:
'stl_time_facets.h': No such file or directory


before you comile it , make sure you are not using P.J's STL
(just change the include dir will ok)


Still doesn't compile for me.

Never mind, it's nearly Christmas. :)

Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
Nov 17 '05 #8

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...
30
by: Neil Zanella | last post by:
Hello, Allow me to share my frustrations with GNU g++. This is the second time something similar happens to me: I can't find anything wrong with my C++ program and yet I get segfaults, and...
16
by: pj | last post by:
(Was originally, probably wrongly, posted to the vc subgroup.) (This doesn't appear to be a c# problem, but a problem with a bug in the Visual Studio c# compiler, but, any help will be welcome...)...
1
by: Ayende Rahien | last post by:
reparing resources... Updating references... Performing main compilation... error CS0583: Internal Compiler Error (0xc0000005 at address 53168B12): likely culprit is 'BIND'. An internal...
4
by: David Sworder | last post by:
Consider the following line of code (it's not important what it does): resp.DocItem=Relations.SelectDocItems_BySearchString(req.SearchPhrase); It turns out that this line is in error. The...
19
by: Martin Oddman | last post by:
Hi, I have a compiling problem. Please take a look at the code below. I have an application that is built upon three tiers: one data tier (Foo.DataManager), one business tier (Foo.Kernel) and...
1
by: pj | last post by:
Oh, I forgot to list the error messages; I would be delighted if someone could explain how to deduce which line number in which file is the one that the VC compiler cannot handle. Actually I'm...
6
by: David Lack | last post by:
Hi, I recently installed a 60-day trial of .NET 2003 on my development system. I made tests with previous personal projects (which compiled ok with VC6) and some open source files, and keep...
0
by: Jim Heavey | last post by:
Internal Compiler Error: stage 'BEGIN' Hello, I had an application which was working just fine and I decided to modify all database access within the application to utilizie a new Namespace that I...
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...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.