Re: why fiasco use -fno-rtti compile option?
Adam Lackorzynski <[email protected]>
| Newsgroups | gmane.comp.micro-kernel.l4.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri Jun 19, 2015 at 10:28:47 +0800, [email protected] wrote: > I want to use typeid() and dynamic_cast() in fiasco, but failed, because of the -fno-rtti option. Why fiasco disable rtti? Are there some bad effects if we enable it? The first effect are a lot of undefined references when linking. Those references point to libsupc++ which in turn has only a few dependencies to libc. Besides adding the lib there are also runtime costs I suppose which one wants to avoid (or at least know exactly where they are). Overall it is not necessary to require this functionality, at least for us. Adam -- Adam [email protected] Lackorzynski http://os.inf.tu-dresden.de/~adam/