I'm having troubles compiling that kind of simple stuff ... both in EVC 3 and EVC 4 (funniest thing is that EVC 4 IDE crashes ...)
I'd be interested if you have already seen this problem (since my EVC 4 install is not very clean, it may be related to a buggy SP2 install, but I doubt it ...)
I'd be interested if you have already seen this problem (since my EVC 4 install is not very clean, it may be related to a buggy SP2 install, but I doubt it ...)
- Code:
namespace first {
class dummy {
public:
void foo();
};
}
namespace second {
class dummy : public first::dummy {
public:
void foo();
};
}
void first::dummy::foo() {
}
void second::dummy::foo() {
first::dummy::foo();
}