473,394 Members | 1,956 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,394 software developers and data experts.

Does this compile for you? (causes internal compiler error on VC71)

#ifndef MKT_DATA_QUOTE_CHAIN_Header_
#define MKT_DATA_QUOTE_CHAIN_Header_

//#include "Quote.h"

class QuoteChain/*: public Quote*/ {
/*public:
QuoteChain();
~QuoteChain();
*/
};

#endif // MKT_DATA_QUOTE_CHAIN_Header_
Wtf?. Is QuoteChain a keyword (I doubt it very much).

Compiler error:

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

Nov 17 '05 #1
2 951
> #ifndef MKT_DATA_QUOTE_CHAIN_Header_
#define MKT_DATA_QUOTE_CHAIN_Header_

//#include "Quote.h"

class QuoteChain/*: public Quote*/ {
/*public:
QuoteChain();
~QuoteChain();
*/
};

#endif // MKT_DATA_QUOTE_CHAIN_Header_
Wtf?. Is QuoteChain a keyword (I doubt it very much).

Compiler error:

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


Seems to compile just fine for me here on both VS.NET 2003 as well as the
VS2005 RC.
--
Tomas Restrepo
to****@mvps.org
http://www.winterdom.com/
Nov 17 '05 #2
E.T. Grey wrote:
#ifndef MKT_DATA_QUOTE_CHAIN_Header_
#define MKT_DATA_QUOTE_CHAIN_Header_

//#include "Quote.h"

class QuoteChain/*: public Quote*/ {
/*public:
QuoteChain();
~QuoteChain();
*/
};

#endif // MKT_DATA_QUOTE_CHAIN_Header_
Wtf?. Is QuoteChain a keyword (I doubt it very much).


That's not a source file, so you can't compile it at all. How do you get
a compiler error out of it? Do you have:

//Quote.cpp
#include "QuoteChain.h"
//end of Quote.cpp

or do you need something else to generate the error?

Tom
Nov 17 '05 #3

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

Similar topics

10
by: Jean-David Beyer | last post by:
I have some programs running on Red Hat Linux 7.3 working with IBM DB2 V6.1 (with all the FixPacks) on my old machine. I have just installed IBM DB2 V8.1 on this (new) machine running Red Hat...
15
by: Gabest | last post by:
class X { public: X() {_tprintf(_T("Hey!\n"));} }; int _tmain(int argc, _TCHAR* argv) { X(qwerty); return 0;
2
by: Vasco Lohrenscheit | last post by:
Hello, with following example: //main.cpp #include <string> using std::string; struct iFactory {
1
by: reom | last post by:
Hi, I'm not sure this is the right place to report bugs in MS Visual C++ .NET 2003. I posted the same message on MSDN forums (http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=95745). In...
3
by: | last post by:
I am trying to compile a simple c# class in Web Matrix called howdy.cs: // Program start class public class HowdyPartner { // Main begins program execution public static void Main() { //...
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...
8
by: mastermagrath | last post by:
Hi, I'm about half way through Bruce Eckels thinking in C++ Vol 1. He gives a very short example of how compiler function name decoration helps remove subtle bugs by type-safe linkage. However,...
5
by: Michael | last post by:
Hi All, I have three very simple files as below. When I try and compile these with g++ -ansi -Wall -pedantic -o crap Base.h Other.h I get an error: Base.h:7: internal compiler error:...
2
by: BruceWho | last post by:
I downloaded boost1.35.0 and built it with following command: bjam --toolset=msvc-7.1 --variant=release --threading=multi -- link=shared --with-system stage and it failed to compile, error...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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
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...

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.