1111 fixed an error with old android ndks which used old versions of gcc that didn't set c99 by default. However, it turns out this breaks new ndks, because they complain about setting -std=c99 when compiling a c++ file (SSL.cpp):
Error: error: invalid argument '-std=c99' not allowed with 'C++'
We can fix the issue by separating the c files from the c++ files so that SSL.cpp is compiled without this flag.
1111 fixed an error with old android ndks which used old versions of gcc that didn't set c99 by default. However, it turns out this breaks new ndks, because they complain about setting
-std=c99
when compiling a c++ file (SSL.cpp):We can fix the issue by separating the c files from the c++ files so that SSL.cpp is compiled without this flag.