Warning building hbcurl with xcode 26

49 views
Skip to first unread message

Lorenzo Fiorini

unread,
Sep 16, 2025, 5:32:32 AM (13 days ago) Sep 16
to harbou...@googlegroups.com
Hi, everybody.

With Apple clang version 17.0.0 (clang-1700.3.19.1) Target: arm64-apple-darwin25.0.0I I get this warning:

../../../../../contrib/hbcurl/core.c:1649:22: warning: call to '_curl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning]
 1649 |                res = curl_easy_setopt( hb_curl->curl, CURLOPT_UPLOAD, ! HB_CURL_OPT_BOOL( 3 ) );
      |                      ^
/opt/homebrew/opt/curl/include/curl/typecheck-gcc.h:50:15: note: expanded from macro 'curl_easy_setopt'
   50 |               _curl_easy_setopt_err_long();                             \
      |               ^
1 warning generated.

regards,
Lorenzo
Reply all
Reply to author
Forward
0 new messages