This bug report was migrated from our old Bugzilla tracker.
Reported in version: 2.0.4 Reported for operating system, platform: Android (All), All
Comments on the original bug report:
On 2016-02-18 23:31:16 +0000, Eric wing wrote:
Building Android is a PITA. A recent thread on the mailing list came up about this.
[SDL] SDL2 + CMake + Android (on Windows)
The crux is that the Android code base has C99-isms and isn't C89 clean. There might have been a compile-warnings-as-errors flag added recently to the CMakeLists.txt which might be why nobody cared before.
But the real problem is that gcc with Android still defaults to C89 mode. And often people are hacking the build system to get Android working, so this issue might keep coming up over and over.