hxcpp icon indicating copy to clipboard operation
hxcpp copied to clipboard

[ssl] Separate mbedtls c files from SSL.cpp

Open tobil4sk opened this issue 1 year ago • 0 comments

#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.

tobil4sk avatar Jun 29 '24 05:06 tobil4sk