Skip to content

Error while compiling with Android NDK r15b #1738

@destman

Description

@destman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions