leaningtech-dev team mailing list archive
-
leaningtech-dev team
-
Mailing list archive
-
Message #00294
[Bug 1247335] Re: Unable to use dynamic_cast (no RTTI)
** Changed in: cheerp
Status: Confirmed => Fix Committed
--
You received this bug notification because you are a member of
Leaningtech Team, which is subscribed to Cheerp.
https://bugs.launchpad.net/bugs/1247335
Title:
Unable to use dynamic_cast (no RTTI)
Status in Cheerp:
Fix Committed
Bug description:
class A { public: virtual ~A() {} };
class B : public A { public: virtual ~B() {} };
A *a = dynamic_cast<B*>(new A);
HelloClient.cpp:61:12: error: cannot use dynamic_cast with -fno-rtti
A *a = dynamic_cast<B*>(new A);
RTTI is disabled by default, is possible to enable it somehow? I want
to port some codes in duetto however I need RTTI.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cheerp/+bug/1247335/+subscriptions