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

E

E.T. Grey

#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)...
 
T

Tomas Restrepo \(MVP\)

#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.
 
T

Tom Widmer [VC++ MVP]

E.T. Grey said:
#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
 

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