curl-library
Re: building on MacOS High Sierra
Date: Fri, 29 Sep 2017 13:19:02 -0400
On 9/29/2017 10:09 AM, Stefan Eissing wrote:
> Any advice on how to best avoid this?
>
> building curl...connect.c:1069:12: error: 'connectx' is only available on macOS 10.11 or newer
> [-Werror,-Wunguarded-availability]
> rc = connectx(sockfd, &endpoints, SAE_ASSOCID_ANY,
> ^~~~~~~~
> /usr/include/sys/socket.h:713:5: note: 'connectx' has been explicitly marked
> partial here
> int connectx(int, const sa_endpoints_t *, sae_associd_t, unsigned int,
> ^
>
> acinclude.m4 and configure itself default the min macos version to 10.8, which is not enough for connectx. If I edit that to 10.11, it works.
Might be related: https://github.com/curl/curl/pull/1336
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-09-29