Unable to use dynamic_cast (no RTTI)
Bug #1247335 reported by
Edward Bart
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cheerp |
Fix Released
|
High
|
Unassigned |
Bug Description
class A { public: virtual ~A() {} };
class B : public A { public: virtual ~B() {} };
A *a = dynamic_
HelloClient.
A *a = dynamic_
RTTI is disabled by default, is possible to enable it somehow? I want to port some codes in duetto however I need RTTI.
Changed in cheerp: | |
status: | Confirmed → Fix Committed |
Changed in cheerp: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Unfortunale RTTI is currently not supported. I've a partial solution for single inheritance cases but still need to fix multiple inheritance. That would only left out virtual inheritance which is currently unsupported anyway.