SDL2 Android - Build with LLVM/Clang throws error

Hello everyone,

I am trying to port an application on android, and major parts of the src are written in c++11 so I need to build the source with LLVM/clang instead of GCC, because GCC 4.6 which is the last supported version has a bug and doesn’t support major features.

Is there a known problem with SDL2 on android and LLVM/Clang?

Is there a workaround?

What error are you getting?
For me, it compiled just fine with clang for Android (I downloaded the latest ndk in October).

Yeah I just tried to make it happen again to see the error and it works just fine [Shocked]

It was some sort of linking error, I guess the linking flag might had been wrong.