Hey
I have been staying on 5b for a long time and thought it was time to upgrade, but when I try to compile I get the error:
error: cannot use typeid with -fno-rtti
when I include STL classes (example: shard_ptr.hpp from the tr1 namespace).
The full log:
In file included from C:/Android/android-ndk-r7b/sources/cxx-stl/gnu-libstdc++/include/tr1/memory:60,
from jni/../../../include/system/Configure.h:138,
from jni/../../../include/app/android/Activity.h:9,
from jni/../../../src/app/android/Activity.cpp:1:
C:/Android/android-ndk-r7b/sources/cxx-stl/gnu-libstdc++/include/tr1/shared_ptr.h: In member function 'virtual void* std::tr1::_Sp_counted_base_impl<_Ptr, _Dele ter, _Lp>::_M_get_deleter(const std::type_info&)':
C:/Android/android-ndk-r7b/sources/cxx-stl/gnu-libstdc++/include/tr1/shared_ptr.h:79: error: cannot use typeid with -fno-rtti
C:/Android/android-ndk-r7b/sources/cxx-stl/gnu-libstdc++/include/tr1/shared_ptr.h: In function '_Del* std::tr1::get_deleter(const std::tr1::__shared_ptr<_Tp1, _ Lp>&)':
C:/Android/android-ndk-r7b/sources/cxx-stl/gnu-libstdc++/include/tr1/shared_ptr.h:642: error: cannot use typeid with -fno-rtti
/cygdrive/c/Android/android-ndk-r7b/build/core/
build-binary.mk:243: recipe for target `obj/local/armeabi/objs-debug/audrey/src/app/android/Activity.o' failed
make: *** [obj/local/armeabi/objs-debug/audrey/src/app/android/Activity.o] Error 1
BUILD FAILED
Regards,
/Robert