devsilenti at October 20th, 2011 07:30 — #1
Basically I would like to enable RTTI support but I am wondering if using gnustl_static will cause issues with the Cocos2d-x engine. If so, what are those issues? Thanks.
mildagenius at October 21st, 2011 07:59 — #2
We have anabled it in our project (Android, Win), but no issue yet.
If somebody has issue, please report it.
zhangxm at October 22nd, 2011 02:31 — #3
If you need RTTI, I don’t think you should replace stl lib.
Similarly, the NDK toolchain supports C++ RTTI (RunTime Type Information)
since NDK r5, but all C++ sources are built with -fno-rtti by default for
compatibility reasons. To enable it, add the following to your module
LOCAL_CPPFLAGS += -frtti
Or more simply to your Application.mk:
APP_CPPFLAGS += -frtti
I have not tested for it.