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

  • Thread starter Thread starter E.T. Grey
  • Start date Start date
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)...
 
#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.
 
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
 
Back
Top