| Summary: | Bogus "type must implement the inherited pure virtual method" error | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Sergey Prigogin <eclipse.sprigogin> |
| Component: | cdt-codan | Assignee: | Sergey Prigogin <eclipse.sprigogin> |
| Status: | RESOLVED FIXED | QA Contact: | Elena Laskavaia <elaskavaia.cdt> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug, kubol, malaperle |
| Version: | 8.0 | ||
| Target Milestone: | 8.0.1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Looks like a duplicate of bug 352210. *** cdt git genie on behalf of Sergey Prigogin ***
Bug 353360 - Bogus "type must implement the inherited pure virtual
method" error. Fix and test case.
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=0df4d6096f0ae1116a5b8e988f2e49a3efe86c46
*** cdt git genie on behalf of Sergey Prigogin ***
Bug 353360 - Bogus "type must implement the inherited pure virtual
method" error. Fix and test case.
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=33c2e373d4d562de2fe1dadf3afd7bf1ad1db265
Fixed in master and cdt_8_0 > 20110731. *** Bug 352210 has been marked as a duplicate of this bug. *** |
The following code causes Codan error "The type 'B' must implement the inherited pure virtual method 'A::~A'" but compiles fine by gcc and clang: class A { public: virtual ~A() = 0; }; class B : public A { }; void test() { B b; }