When compiling with Android NDK r15b i got errors like this:
Cannot find proper types to use for recv args
Version of curl is 7.54.1
The problem is that NDK r15b switch to clang and use new headers now. So when configure checks if some functions have valid arguments invalid code is generated.
I fix this problem by adding __attribute__((overloadable)) before some functions (recv, send, select, getnameinfo) in acinclude.m4
But not sure how it influence other platforms...
When compiling with Android NDK r15b i got errors like this:
Cannot find proper types to use for recv argsVersion of curl is 7.54.1
The problem is that NDK r15b switch to clang and use new headers now. So when configure checks if some functions have valid arguments invalid code is generated.
I fix this problem by adding
__attribute__((overloadable))before some functions (recv, send, select, getnameinfo) in acinclude.m4But not sure how it influence other platforms...