25 Jun
2015
25 Jun
'15
10:11 p.m.
On Fri Jun 19, 2015 at 10:28:47 +0800, liu.xiaodong2@zte.com.cn 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 adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/