A
Andrew K
Hello,
I have run into a problem with VC7 that worked in VC6.
These two sections should be exactly the same...
class test { public: virtual void blah(void)=0;};
void func(test[]) {}
and
class test { public: virtual void blah(void)=0;};
void func(test const *) {}
but only the 2nd compiles in VC7 where as both compiled in VC6.
The VC7 error for the first one is error C2259: 'test' : cannot instantiate
abstract class
Any reason why VC7 doesn't accept it?
Thanks
I have run into a problem with VC7 that worked in VC6.
These two sections should be exactly the same...
class test { public: virtual void blah(void)=0;};
void func(test[]) {}
and
class test { public: virtual void blah(void)=0;};
void func(test const *) {}
but only the 2nd compiles in VC7 where as both compiled in VC6.
The VC7 error for the first one is error C2259: 'test' : cannot instantiate
abstract class
Any reason why VC7 doesn't accept it?
Thanks