I tried to compile MCServer for Android but the CryptoPP uses exceptions. I even tried enabling exceptions but it seems the NDK does not completely supports it ( who knew >_> ) and I get
I can try to get rid of all the exceptions in CryptoPP just for Android
There seems to be a define for disabling uncaught exceptions: CRYPTOPP_DISABLE_UNCAUGHT_EXCEPTION
Trying to compile again...
Got a crapload of linker errors..
Trying to compile against gnustl instead of stlport
I really hope this works, if it does we don't have to worry about exceptions anymore
Yay it compiled! Let's see if it works
Code:
In file included from jni/../../CryptoPP/algparam.cpp:7:
jni/../../CryptoPP/algparam.h: In destructor 'virtual CryptoPP::AlgorithmParametersBase::~AlgorithmParametersBase()':
jni/../../CryptoPP/algparam.h:275: error: 'uncaught_exception' is not a member of 'std'I can try to get rid of all the exceptions in CryptoPP just for Android
There seems to be a define for disabling uncaught exceptions: CRYPTOPP_DISABLE_UNCAUGHT_EXCEPTION
Trying to compile again...
Got a crapload of linker errors..
Trying to compile against gnustl instead of stlportI really hope this works, if it does we don't have to worry about exceptions anymore
Yay it compiled! Let's see if it works

