=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/www/ocaml-curl", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for ocaml-curl-0.5.3nb57 gmake[1]: Entering directory '/tmp/work/www/ocaml-curl/work/ocurl' gmake[1]: Leaving directory '/tmp/work/www/ocaml-curl/work/ocurl' gmake[1]: Entering directory '/tmp/work/www/ocaml-curl/work/ocurl' ocamlc -c curl.mli -o curl.cmi ocamlc -c curl.ml -o curl.cmo gcc -c -Wall -I/opt/local/include -DHAVE_CONFIG_H -I/opt/local/lib/ocaml curl-helper.c -o curl-helper.o curl-helper.c:25:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead 25 | void leave_blocking_section(void); | ^~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:26:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead 26 | void enter_blocking_section(void); | ^~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:736:5: warning: 'CURLOPT_PUT' is deprecated: since 7.12.1. Use CURLOPT_UPLOAD [-Wdeprecated-declarations] 736 | {handlePut, "CURLOPT_PUT", CURLOPT_PUT}, | ^ In file included from curl-helper.c:11: /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1338:21: note: declared here 1338 | CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54, | ^~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ curl-helper.c:752:5: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 752 | {handleHTTPPost, "CURLOPT_HTTPPOST", CURLOPT_HTTPPOST}, | ^ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1248:21: note: declared here 1248 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ curl-helper.c:771:5: warning: 'CURLOPT_KRBLEVEL' is deprecated: since 8.17.0. removed [-Wdeprecated-declarations] 771 | {handleKRB4Level, "CURLOPT_KRB4LEVEL", CURLOPT_KRB4LEVEL}, | ^ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1374:21: note: declared here 1374 | CURLOPTDEPRECATED(CURLOPT_KRBLEVEL, CURLOPTTYPE_STRINGPOINT, 63, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ curl-helper.c:772:5: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 772 | {handleProgressFunction, "CURLOPT_PROGRESSFUNCTION", CURLOPT_PROGRESSFUNCTION}, | ^ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1347:21: note: declared here 1347 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ curl-helper.c:782:5: warning: 'CURLOPT_RANDOM_FILE' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations] 782 | {handleRandomFile, "CURLOPT_RANDOM_FILE", CURLOPT_RANDOM_FILE}, | ^ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1415:21: note: declared here 1415 | CURLOPTDEPRECATED(CURLOPT_RANDOM_FILE, CURLOPTTYPE_STRINGPOINT, 76, | ^~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ curl-helper.c:783:5: warning: 'CURLOPT_EGDSOCKET' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations] 783 | {handleEGDSocket, "CURLOPT_EGDSOCKET", CURLOPT_EGDSOCKET}, | ^ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1419:21: note: declared here 1419 | CURLOPTDEPRECATED(CURLOPT_EGDSOCKET, CURLOPTTYPE_STRINGPOINT, 77, | ^~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ curl-helper.c:792:5: warning: 'CURLOPT_DNS_USE_GLOBAL_CACHE' is deprecated: since 7.11.1. Use CURLOPT_SHARE [-Wdeprecated-declarations] 792 | {handleDNSUseGlobalCache, "CURLOPT_DNS_USE_GLOBAL_CACHE", CURLOPT_DNS_USE_GLOBAL_CACHE}, | ^ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1475:21: note: declared here 1475 | CURLOPTDEPRECATED(CURLOPT_DNS_USE_GLOBAL_CACHE, CURLOPTTYPE_LONG, 91, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ curl-helper.c:885:5: warning: 'CURLOPT_IOCTLFUNCTION' is deprecated: since 7.18.0. Use CURLOPT_SEEKFUNCTION [-Wdeprecated-declarations] 885 | {handleIOCTLFunction, "CURLOPT_IOCTLFUNCTION", CURLOPT_IOCTLFUNCTION}, | ^ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1630:21: note: declared here 1630 | CURLOPTDEPRECATED(CURLOPT_IOCTLFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 130, | ^~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ curl-helper.c: In function 'raiseError': curl-helper.c:1072:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 1072 | Store_field(exceptionData, 2, copy_string(errorString)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1077:27: warning: "copy_string" is deprecated: use "caml_copy_string" instead 1077 | copy_string(conn->errorBuffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1080:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1080 | exception = caml_named_value("CurlException"); | ^ curl-helper.c:1085:13: warning: "raise_with_arg" is deprecated: use "caml_raise_with_arg" instead 1085 | raise_with_arg(*exception, exceptionData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'newConnection': curl-helper.c:1097:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead 1097 | enter_blocking_section(); | ^~~~~~~~~~~~~~~~~ curl-helper.c:1099:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead 1099 | leave_blocking_section(); | ^~~~~~~~~~~~~~~~~ curl-helper.c:1116:13: warning: "alloc" is deprecated: use "caml_alloc" instead 1116 | connection->ocamlValues = alloc(OcamlValuesSize, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1120:13: warning: "register_global_root" is deprecated: use "caml_register_global_root" instead 1120 | register_global_root(&connection->ocamlValues); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'duplicateConnection': curl-helper.c:1176:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead 1176 | enter_blocking_section(); | ^~~~~~~~~~~~~~~~~ curl-helper.c:1178:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead 1178 | leave_blocking_section(); | ^~~~~~~~~~~~~~~~~ curl-helper.c:1195:13: warning: "alloc" is deprecated: use "caml_alloc" instead 1195 | connection->ocamlValues = alloc(OcamlValuesSize, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1199:13: warning: "register_global_root" is deprecated: use "caml_register_global_root" instead 1199 | register_global_root(&connection->ocamlValues); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'removeConnection': curl-helper.c:1401:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead 1401 | enter_blocking_section(); | ^~~~~~~~~~~~~~~~~ curl-helper.c:1403:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead 1403 | leave_blocking_section(); | ^~~~~~~~~~~~~~~~~ curl-helper.c:1415:13: warning: "remove_global_root" is deprecated: use "caml_remove_global_root" instead 1415 | remove_global_root(&connection->ocamlValues); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1442:9: warning: 'curl_formfree' is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations] 1442 | curl_formfree(connection->httpPostFirst); | ^~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2698:1: note: declared here 2698 | curl_formfree(struct curl_httppost *form); | ^~~~~~~~~~~~~ curl-helper.c: In function 'checkConnection': curl-helper.c:1517:13: warning: "failwith" is deprecated: use "caml_failwith" instead 1517 | failwith("Invalid Connection"); | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'writeFunction_nolock': curl-helper.c:1539:13: warning: "alloc_string" is deprecated: use "caml_alloc_string" instead 1539 | str = alloc_string(size*nmemb); | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1544:13: warning: "callback" is deprecated: use "caml_callback" instead 1544 | result = callback(Field(conn->ocamlValues, OcamlWriteCallback), str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'writeFunction': curl-helper.c:1549:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead 1549 | WRAP_DATA_CALLBACK(writeFunction) | ^~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1549:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead curl-helper.c: In function 'readFunction_nolock': curl-helper.c:1560:13: warning: "callback" is deprecated: use "caml_callback" instead 1560 | result = callback(Field(conn->ocamlValues, OcamlReadCallback), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1563:13: warning: "string_length" is deprecated: use "caml_string_length" instead 1563 | length = string_length(result); | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'readFunction': curl-helper.c:1573:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead 1573 | WRAP_DATA_CALLBACK(readFunction) | ^~~~~~~~~~~~~~~~~~~~ curl-helper.c:1573:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead curl-helper.c: In function 'headerFunction_nolock': curl-helper.c:1584:13: warning: "alloc_string" is deprecated: use "caml_alloc_string" instead 1584 | str = alloc_string(size*nmemb); | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1589:13: warning: "callback" is deprecated: use "caml_callback" instead 1589 | result = callback(Field(conn->ocamlValues, OcamlHeaderCallback), str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'headerFunction': curl-helper.c:1594:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead 1594 | WRAP_DATA_CALLBACK(headerFunction) | ^~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1594:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead curl-helper.c: In function 'progressFunction_nolock': curl-helper.c:1609:13: warning: "copy_double" is deprecated: use "caml_copy_double" instead 1609 | callbackData[0] = copy_double(dlTotal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1610:13: warning: "copy_double" is deprecated: use "caml_copy_double" instead 1610 | callbackData[1] = copy_double(dlNow); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1611:13: warning: "copy_double" is deprecated: use "caml_copy_double" instead 1611 | callbackData[2] = copy_double(ulTotal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1612:13: warning: "copy_double" is deprecated: use "caml_copy_double" instead 1612 | callbackData[3] = copy_double(ulNow); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1614:13: warning: "callbackN" is deprecated: use "caml_callbackN" instead 1614 | result = callbackN(Field(conn->ocamlValues, OcamlProgressCallback), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'progressFunction': curl-helper.c:1627:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead 1627 | leave_blocking_section(); | ^~~~~~~~~~~~~~~ curl-helper.c:1629:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead 1629 | enter_blocking_section(); | ^~~~~~~~~~~~~~~ curl-helper.c: In function 'debugFunction_nolock': curl-helper.c:1648:13: warning: "alloc_string" is deprecated: use "caml_alloc_string" instead 1648 | camlMessage = alloc_string(bufferLength); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1653:13: warning: "callback3" is deprecated: use "caml_callback3" instead 1653 | callback3(Field(conn->ocamlValues, OcamlDebugCallback), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'debugFunction': curl-helper.c:1668:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead 1668 | leave_blocking_section(); | ^~~~~~~~~~~~~~~ curl-helper.c:1670:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead 1670 | enter_blocking_section(); | ^~~~~~~~~~~~~~~ curl-helper.c: In function 'ioctlFunction_nolock': curl-helper.c:1690:13: warning: "failwith" is deprecated: use "caml_failwith" instead 1690 | failwith("Invalid IOCTL Cmd!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1692:13: warning: "alloc" is deprecated: use "caml_alloc" instead 1692 | camlConnection = alloc(1, Abstract_tag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1695:13: warning: "callback2" is deprecated: use "caml_callback2" instead 1695 | camlResult = callback2(Field(conn->ocamlValues, OcamlIOCTLCallback), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'ioctlFunction': curl-helper.c:1726:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead 1726 | leave_blocking_section(); | ^~~~~~~~~~~~~~~ curl-helper.c:1728:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead 1728 | enter_blocking_section(); | ^~~~~~~~~~~~~~~ curl-helper.c: In function 'seekFunction_nolock': curl-helper.c:1742:13: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead 1742 | camlOffset = copy_int64(offset); | ^~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1753:13: warning: "callback2" is deprecated: use "caml_callback2" instead 1753 | camlResult = callback2(Field(conn->ocamlValues, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'seekFunction': curl-helper.c:1768:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead 1768 | leave_blocking_section(); | ^~~~~~~~~~~~~~~ curl-helper.c:1770:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead 1770 | enter_blocking_section(); | ^~~~~~~~~~~~~~~ curl-helper.c: In function 'helper_curl_global_init': curl-helper.c:1803:13: warning: "failwith" is deprecated: use "caml_failwith" instead 1803 | failwith("Invalid Initialization Option"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'helper_curl_easy_init': curl-helper.c:1835:13: warning: "alloc" is deprecated: use "caml_alloc" instead 1835 | result = alloc(1, Abstract_tag); | ^~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleWriteFunction': curl-helper.c:1853:13: warning: "failwith" is deprecated: use "caml_failwith" instead 1853 | failwith("Not a proper closure"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleReadFunction': curl-helper.c:1880:13: warning: "failwith" is deprecated: use "caml_failwith" instead 1880 | failwith("Not a proper closure"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleNETRC': curl-helper.c:2164:13: warning: "failwith" is deprecated: use "caml_failwith" instead 2164 | failwith("Invalid NETRC Option"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleEncoding': curl-helper.c:2199:13: warning: "failwith" is deprecated: use "caml_failwith" instead 2199 | failwith("Invalid Encoding Option"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handlePut': curl-helper.c:2248:5: warning: 'CURLOPT_PUT' is deprecated: since 7.12.1. Use CURLOPT_UPLOAD [-Wdeprecated-declarations] 2248 | result = curl_easy_setopt(conn->connection, | ^~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1338:21: note: declared here 1338 | CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54, | ^~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:55:7: warning: 'CURLOPT_PUT' is deprecated: since 7.12.1. Use CURLOPT_UPLOAD [-Wdeprecated-declarations] 55 | _Pragma("GCC diagnostic pop") | ^~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:47:7: note: in expansion of macro 'CURL_IGNORE_DEPRECATION' 47 | CURL_IGNORE_DEPRECATION( \ | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2248:14: note: in expansion of macro 'curl_easy_setopt' 2248 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1338:21: note: declared here 1338 | CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54, | ^~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ curl-helper.c: In function 'handlePostFields': curl-helper.c:2371:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2371 | conn->postFields = malloc(string_length(option)+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2372:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2372 | memcpy(conn->postFields, String_val(option), string_length(option)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleHTTPHeader': curl-helper.c:2551:13: warning: "failwith" is deprecated: use "caml_failwith" instead 2551 | failwith("Not a string"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleHTTPPost': curl-helper.c:2582:9: warning: 'curl_formfree' is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations] 2582 | curl_formfree(conn->httpPostFirst); | ^~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2698:1: note: declared here 2698 | curl_formfree(struct curl_httppost *form); | ^~~~~~~~~~~~~ curl-helper.c:2599:13: warning: "failwith" is deprecated: use "caml_failwith" instead 2599 | failwith("Incorrect CURLFORM_CONTENT parameters"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2605:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2605 | str1 = (char *)malloc(string_length(Field(formItem, 0))+1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2608:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2608 | string_length(Field(formItem, 0))); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2609:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2609 | str1[string_length(Field(formItem, 0))] = 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2613:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2613 | str2 = (char *)malloc(string_length(Field(formItem, 1))+1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2616:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2616 | string_length(Field(formItem, 1))); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2617:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2617 | str2[string_length(Field(formItem, 1))] = 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2621:17: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 2621 | curl_formadd(&conn->httpPostFirst, | ^~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2662:1: note: declared here 2662 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ curl-helper.c:2623:30: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 2623 | CURLFORM_PTRNAME, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2588:3: note: declared here 2588 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ curl-helper.c:2625:30: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 2625 | CURLFORM_NAMELENGTH, | ^~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2589:3: note: declared here 2589 | CURLFORM_NAMELENGTH CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~ curl-helper.c:2626:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2626 | string_length(Field(formItem, 0)), | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2627:30: warning: 'CURLFORM_PTRCONTENTS' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 2627 | CURLFORM_PTRCONTENTS, | ^~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2591:3: note: declared here 2591 | CURLFORM_PTRCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~ curl-helper.c:2629:30: warning: 'CURLFORM_CONTENTSLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 2629 | CURLFORM_CONTENTSLENGTH, | ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2592:3: note: declared here 2592 | CURLFORM_CONTENTSLENGTH CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2630:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2630 | string_length(Field(formItem, 1)), | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2635:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2635 | str1 = (char *)malloc(string_length(Field(formItem, 0))+1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2638:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2638 | string_length(Field(formItem, 0))); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2639:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2639 | str1[string_length(Field(formItem, 0))] = 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2643:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2643 | str2 = (char *)malloc(string_length(Field(formItem, 1))+1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2646:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2646 | string_length(Field(formItem, 1))); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2647:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2647 | str2[string_length(Field(formItem, 1))] = 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2653:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2653 | str3 = (char *)malloc(string_length(Field(contentType, 0))+1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2656:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2656 | string_length(Field(contentType, 0))); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2657:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2657 | str3[string_length(Field(contentType, 0))] = 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2661:17: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 2661 | curl_formadd(&conn->httpPostFirst, | ^~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2662:1: note: declared here 2662 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ curl-helper.c:2663:30: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 2663 | CURLFORM_PTRNAME, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2588:3: note: declared here 2588 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ curl-helper.c:2665:30: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 2665 | CURLFORM_NAMELENGTH, | ^~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2589:3: note: declared here 2589 | CURLFORM_NAMELENGTH CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~ curl-helper.c:2666:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2666 | string_length(Field(formItem, 0)), | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2667:30: warning: 'CURLFORM_PTRCONTENTS' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 2667 | CURLFORM_PTRCONTENTS, | ^~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2591:3: note: declared here 2591 | CURLFORM_PTRCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~ curl-helper.c:2669:30: warning: 'CURLFORM_CONTENTSLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 2669 | CURLFORM_CONTENTSLENGTH, | ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2592:3: note: declared here 2592 | CURLFORM_CONTENTSLENGTH CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2670:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2670 | string_length(Field(formItem, 1)), | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2671:30: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations] 2671 | CURLFORM_CONTENTTYPE, | ^~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2602:3: note: declared here 2602 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"), | ^~~~~~~~~~~~~~~~~~~~ curl-helper.c:2677:13: warning: "failwith" is deprecated: use "caml_failwith" instead 2677 | failwith("Incorrect CURLFORM_CONTENT parameters"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2684:13: warning: "failwith" is deprecated: use "caml_failwith" instead 2684 | failwith("Incorrect CURLFORM_FILECONTENT parameters"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2690:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2690 | str1 = (char *)malloc(string_length(Field(formItem, 0))+1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2693:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2693 | string_length(Field(formItem, 0))); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2694:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2694 | str1[string_length(Field(formItem, 0))] = 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2698:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2698 | str2 = (char *)malloc(string_length(Field(formItem, 1))+1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2701:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2701 | string_length(Field(formItem, 1))); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2702:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2702 | str2[string_length(Field(formItem, 1))] = 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2706:17: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 2706 | curl_formadd(&conn->httpPostFirst, | ^~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2662:1: note: declared here 2662 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ curl-helper.c:2708:30: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 2708 | CURLFORM_PTRNAME, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2588:3: note: declared here 2588 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ curl-helper.c:2710:30: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 2710 | CURLFORM_NAMELENGTH, | ^~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2589:3: note: declared here 2589 | CURLFORM_NAMELENGTH CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~ curl-helper.c:2711:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2711 | string_length(Field(formItem, 0)), | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2712:30: warning: 'CURLFORM_FILECONTENT' is deprecated: since 7.56.0. Use curl_mime_data_cb() [-Wdeprecated-declarations] 2712 | CURLFORM_FILECONTENT, | ^~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2593:3: note: declared here 2593 | CURLFORM_FILECONTENT CURL_DEPRECATED(7.56.0, "Use curl_mime_data_cb()"), | ^~~~~~~~~~~~~~~~~~~~ curl-helper.c:2718:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2718 | str1 = (char *)malloc(string_length(Field(formItem, 0))+1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2721:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2721 | string_length(Field(formItem, 0))); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2722:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2722 | str1[string_length(Field(formItem, 0))] = 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2726:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2726 | str2 = (char *)malloc(string_length(Field(formItem, 1))+1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2729:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2729 | string_length(Field(formItem, 1))); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2730:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2730 | str2[string_length(Field(formItem, 1))] = 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2736:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2736 | str3 = (char *)malloc(string_length(Field(contentType, 0))+1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2739:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2739 | string_length(Field(contentType, 0))); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2740:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2740 | str3[string_length(Field(contentType, 0))] = 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2744:17: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 2744 | curl_formadd(&conn->httpPostFirst, | ^~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2662:1: note: declared here 2662 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ curl-helper.c:2746:30: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 2746 | CURLFORM_PTRNAME, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2588:3: note: declared here 2588 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ curl-helper.c:2748:30: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 2748 | CURLFORM_NAMELENGTH, | ^~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2589:3: note: declared here 2589 | CURLFORM_NAMELENGTH CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~ curl-helper.c:2749:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2749 | string_length(Field(formItem, 0)), | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2750:30: warning: 'CURLFORM_FILECONTENT' is deprecated: since 7.56.0. Use curl_mime_data_cb() [-Wdeprecated-declarations] 2750 | CURLFORM_FILECONTENT, | ^~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2593:3: note: declared here 2593 | CURLFORM_FILECONTENT CURL_DEPRECATED(7.56.0, "Use curl_mime_data_cb()"), | ^~~~~~~~~~~~~~~~~~~~ curl-helper.c:2752:30: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations] 2752 | CURLFORM_CONTENTTYPE, | ^~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2602:3: note: declared here 2602 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"), | ^~~~~~~~~~~~~~~~~~~~ curl-helper.c:2758:13: warning: "failwith" is deprecated: use "caml_failwith" instead 2758 | failwith("Incorrect CURLFORM_FILECONTENT parameters"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2765:13: warning: "failwith" is deprecated: use "caml_failwith" instead 2765 | failwith("Incorrect CURLFORM_FILE parameters"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2771:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2771 | str1 = (char *)malloc(string_length(Field(formItem, 0))+1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2774:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2774 | string_length(Field(formItem, 0))); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2775:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2775 | str1[string_length(Field(formItem, 0))] = 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2779:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2779 | str2 = (char *)malloc(string_length(Field(formItem, 1))+1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2782:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2782 | string_length(Field(formItem, 1))); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2783:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2783 | str2[string_length(Field(formItem, 1))] = 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2787:17: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 2787 | curl_formadd(&conn->httpPostFirst, | ^~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2662:1: note: declared here 2662 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ curl-helper.c:2789:30: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 2789 | CURLFORM_PTRNAME, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2588:3: note: declared here 2588 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ curl-helper.c:2791:30: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 2791 | CURLFORM_NAMELENGTH, | ^~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2589:3: note: declared here 2589 | CURLFORM_NAMELENGTH CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~ curl-helper.c:2792:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2792 | string_length(Field(formItem, 0)), | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2793:30: warning: 'CURLFORM_FILE' is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations] 2793 | CURLFORM_FILE, | ^~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2596:3: note: declared here 2596 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"), | ^~~~~~~~~~~~~ curl-helper.c:2799:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2799 | str1 = (char *)malloc(string_length(Field(formItem, 0))+1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2802:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2802 | string_length(Field(formItem, 0))); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2803:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2803 | str1[string_length(Field(formItem, 0))] = 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2807:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2807 | str2 = (char *)malloc(string_length(Field(formItem, 1))+1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2810:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2810 | string_length(Field(formItem, 1))); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2811:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2811 | str2[string_length(Field(formItem, 1))] = 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2817:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2817 | str3 = (char *)malloc(string_length(Field(contentType, 0))+1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2820:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2820 | string_length(Field(contentType, 0))); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2821:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2821 | str3[string_length(Field(contentType, 0))] = 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2825:17: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 2825 | curl_formadd(&conn->httpPostFirst, | ^~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2662:1: note: declared here 2662 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ curl-helper.c:2827:30: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 2827 | CURLFORM_PTRNAME, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2588:3: note: declared here 2588 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ curl-helper.c:2829:30: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 2829 | CURLFORM_NAMELENGTH, | ^~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2589:3: note: declared here 2589 | CURLFORM_NAMELENGTH CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~ curl-helper.c:2830:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2830 | string_length(Field(formItem, 0)), | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2831:30: warning: 'CURLFORM_FILE' is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations] 2831 | CURLFORM_FILE, | ^~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2596:3: note: declared here 2596 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"), | ^~~~~~~~~~~~~ curl-helper.c:2833:30: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations] 2833 | CURLFORM_CONTENTTYPE, | ^~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2602:3: note: declared here 2602 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"), | ^~~~~~~~~~~~~~~~~~~~ curl-helper.c:2839:13: warning: "failwith" is deprecated: use "caml_failwith" instead 2839 | failwith("Incorrect CURLFORM_FILE parameters"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2846:13: warning: "failwith" is deprecated: use "caml_failwith" instead 2846 | failwith("Incorrect CURLFORM_BUFFER parameters"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2852:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2852 | str1 = (char *)malloc(string_length(Field(formItem, 0))+1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2855:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2855 | string_length(Field(formItem, 0))); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2856:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2856 | str1[string_length(Field(formItem, 0))] = 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2860:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2860 | str2 = (char *)malloc(string_length(Field(formItem, 1))+1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2863:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2863 | string_length(Field(formItem, 1))); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2864:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2864 | str2[string_length(Field(formItem, 1))] = 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2868:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2868 | str3 = (char *)malloc(string_length(Field(formItem, 2))+1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2871:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2871 | string_length(Field(formItem, 2))); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2872:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2872 | str3[string_length(Field(formItem, 2))] = 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2876:17: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 2876 | curl_formadd(&conn->httpPostFirst, | ^~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2662:1: note: declared here 2662 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ curl-helper.c:2878:30: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 2878 | CURLFORM_PTRNAME, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2588:3: note: declared here 2588 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ curl-helper.c:2880:30: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 2880 | CURLFORM_NAMELENGTH, | ^~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2589:3: note: declared here 2589 | CURLFORM_NAMELENGTH CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~ curl-helper.c:2881:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2881 | string_length(Field(formItem, 0)), | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2882:30: warning: 'CURLFORM_BUFFER' is deprecated: since 7.56.0. Use curl_mime_filename() [-Wdeprecated-declarations] 2882 | CURLFORM_BUFFER, | ^~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2598:3: note: declared here 2598 | CURLFORM_BUFFER CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"), | ^~~~~~~~~~~~~~~ curl-helper.c:2884:30: warning: 'CURLFORM_BUFFERPTR' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 2884 | CURLFORM_BUFFERPTR, | ^~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2599:3: note: declared here 2599 | CURLFORM_BUFFERPTR CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~ curl-helper.c:2886:30: warning: 'CURLFORM_BUFFERLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 2886 | CURLFORM_BUFFERLENGTH, | ^~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2600:3: note: declared here 2600 | CURLFORM_BUFFERLENGTH CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2887:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2887 | string_length(Field(formItem, 2)), | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2892:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2892 | str1 = (char *)malloc(string_length(Field(formItem, 0))+1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2895:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2895 | string_length(Field(formItem, 0))); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2896:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2896 | str1[string_length(Field(formItem, 0))] = 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2900:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2900 | str2 = (char *)malloc(string_length(Field(formItem, 1))+1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2903:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2903 | string_length(Field(formItem, 1))); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2904:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2904 | str2[string_length(Field(formItem, 1))] = 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2908:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2908 | str3 = (char *)malloc(string_length(Field(formItem, 2))+1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2911:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2911 | string_length(Field(formItem, 2))); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2912:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2912 | str3[string_length(Field(formItem, 2))] = 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2918:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2918 | str4 = (char *)malloc(string_length(Field(contentType, 0))+1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2921:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2921 | string_length(Field(contentType, 0))); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2922:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2922 | str4[string_length(Field(contentType, 0))] = 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2926:17: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 2926 | curl_formadd(&conn->httpPostFirst, | ^~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2662:1: note: declared here 2662 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ curl-helper.c:2928:30: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 2928 | CURLFORM_PTRNAME, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2588:3: note: declared here 2588 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ curl-helper.c:2930:30: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 2930 | CURLFORM_NAMELENGTH, | ^~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2589:3: note: declared here 2589 | CURLFORM_NAMELENGTH CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~ curl-helper.c:2931:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2931 | string_length(Field(formItem, 0)), | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2932:30: warning: 'CURLFORM_BUFFER' is deprecated: since 7.56.0. Use curl_mime_filename() [-Wdeprecated-declarations] 2932 | CURLFORM_BUFFER, | ^~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2598:3: note: declared here 2598 | CURLFORM_BUFFER CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"), | ^~~~~~~~~~~~~~~ curl-helper.c:2934:30: warning: 'CURLFORM_BUFFERPTR' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 2934 | CURLFORM_BUFFERPTR, | ^~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2599:3: note: declared here 2599 | CURLFORM_BUFFERPTR CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~ curl-helper.c:2936:30: warning: 'CURLFORM_BUFFERLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 2936 | CURLFORM_BUFFERLENGTH, | ^~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2600:3: note: declared here 2600 | CURLFORM_BUFFERLENGTH CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2937:13: warning: "string_length" is deprecated: use "caml_string_length" instead 2937 | string_length(Field(formItem, 2)), | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2938:30: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations] 2938 | CURLFORM_CONTENTTYPE, | ^~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2602:3: note: declared here 2602 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"), | ^~~~~~~~~~~~~~~~~~~~ curl-helper.c:2944:13: warning: "failwith" is deprecated: use "caml_failwith" instead 2944 | failwith("Incorrect CURLFORM_BUFFER parameters"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2952:5: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 2952 | result = curl_easy_setopt(conn->connection, | ^~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1248:21: note: declared here 1248 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:55:7: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 55 | _Pragma("GCC diagnostic pop") | ^~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:47:7: note: in expansion of macro 'CURL_IGNORE_DEPRECATION' 47 | CURL_IGNORE_DEPRECATION( \ | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2952:14: note: in expansion of macro 'curl_easy_setopt' 2952 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1248:21: note: declared here 1248 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ curl-helper.c: In function 'handleQuote': curl-helper.c:3165:13: warning: "failwith" is deprecated: use "caml_failwith" instead 3165 | failwith("Not a string"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handlePostQuote': curl-helper.c:3203:13: warning: "failwith" is deprecated: use "caml_failwith" instead 3203 | failwith("Not a string"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleHeaderFunction': curl-helper.c:3230:13: warning: "failwith" is deprecated: use "caml_failwith" instead 3230 | failwith("Not a proper closure"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleTimeCondition': curl-helper.c:3306:13: warning: "failwith" is deprecated: use "caml_failwith" instead 3306 | failwith("Invalid TIMECOND Option"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleKRB4Level': curl-helper.c:3383:9: warning: 'CURLOPT_KRBLEVEL' is deprecated: since 8.17.0. removed [-Wdeprecated-declarations] 3383 | result = curl_easy_setopt(conn->connection, | ^~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1374:21: note: declared here 1374 | CURLOPTDEPRECATED(CURLOPT_KRBLEVEL, CURLOPTTYPE_STRINGPOINT, 63, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:55:7: warning: 'CURLOPT_KRBLEVEL' is deprecated: since 8.17.0. removed [-Wdeprecated-declarations] 55 | _Pragma("GCC diagnostic pop") | ^~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:47:7: note: in expansion of macro 'CURL_IGNORE_DEPRECATION' 47 | CURL_IGNORE_DEPRECATION( \ | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:3383:18: note: in expansion of macro 'curl_easy_setopt' 3383 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1374:21: note: declared here 1374 | CURLOPTDEPRECATED(CURLOPT_KRBLEVEL, CURLOPTTYPE_STRINGPOINT, 63, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ curl-helper.c:3389:9: warning: 'CURLOPT_KRBLEVEL' is deprecated: since 8.17.0. removed [-Wdeprecated-declarations] 3389 | result = curl_easy_setopt(conn->connection, | ^~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1374:21: note: declared here 1374 | CURLOPTDEPRECATED(CURLOPT_KRBLEVEL, CURLOPTTYPE_STRINGPOINT, 63, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:55:7: warning: 'CURLOPT_KRBLEVEL' is deprecated: since 8.17.0. removed [-Wdeprecated-declarations] 55 | _Pragma("GCC diagnostic pop") | ^~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:47:7: note: in expansion of macro 'CURL_IGNORE_DEPRECATION' 47 | CURL_IGNORE_DEPRECATION( \ | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:3389:18: note: in expansion of macro 'curl_easy_setopt' 3389 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1374:21: note: declared here 1374 | CURLOPTDEPRECATED(CURLOPT_KRBLEVEL, CURLOPTTYPE_STRINGPOINT, 63, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ curl-helper.c:3395:9: warning: 'CURLOPT_KRBLEVEL' is deprecated: since 8.17.0. removed [-Wdeprecated-declarations] 3395 | result = curl_easy_setopt(conn->connection, | ^~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1374:21: note: declared here 1374 | CURLOPTDEPRECATED(CURLOPT_KRBLEVEL, CURLOPTTYPE_STRINGPOINT, 63, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:55:7: warning: 'CURLOPT_KRBLEVEL' is deprecated: since 8.17.0. removed [-Wdeprecated-declarations] 55 | _Pragma("GCC diagnostic pop") | ^~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:47:7: note: in expansion of macro 'CURL_IGNORE_DEPRECATION' 47 | CURL_IGNORE_DEPRECATION( \ | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:3395:18: note: in expansion of macro 'curl_easy_setopt' 3395 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1374:21: note: declared here 1374 | CURLOPTDEPRECATED(CURLOPT_KRBLEVEL, CURLOPTTYPE_STRINGPOINT, 63, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ curl-helper.c:3401:9: warning: 'CURLOPT_KRBLEVEL' is deprecated: since 8.17.0. removed [-Wdeprecated-declarations] 3401 | result = curl_easy_setopt(conn->connection, | ^~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1374:21: note: declared here 1374 | CURLOPTDEPRECATED(CURLOPT_KRBLEVEL, CURLOPTTYPE_STRINGPOINT, 63, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:55:7: warning: 'CURLOPT_KRBLEVEL' is deprecated: since 8.17.0. removed [-Wdeprecated-declarations] 55 | _Pragma("GCC diagnostic pop") | ^~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:47:7: note: in expansion of macro 'CURL_IGNORE_DEPRECATION' 47 | CURL_IGNORE_DEPRECATION( \ | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:3401:18: note: in expansion of macro 'curl_easy_setopt' 3401 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1374:21: note: declared here 1374 | CURLOPTDEPRECATED(CURLOPT_KRBLEVEL, CURLOPTTYPE_STRINGPOINT, 63, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ curl-helper.c:3407:9: warning: 'CURLOPT_KRBLEVEL' is deprecated: since 8.17.0. removed [-Wdeprecated-declarations] 3407 | result = curl_easy_setopt(conn->connection, | ^~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1374:21: note: declared here 1374 | CURLOPTDEPRECATED(CURLOPT_KRBLEVEL, CURLOPTTYPE_STRINGPOINT, 63, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:55:7: warning: 'CURLOPT_KRBLEVEL' is deprecated: since 8.17.0. removed [-Wdeprecated-declarations] 55 | _Pragma("GCC diagnostic pop") | ^~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:47:7: note: in expansion of macro 'CURL_IGNORE_DEPRECATION' 47 | CURL_IGNORE_DEPRECATION( \ | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:3407:18: note: in expansion of macro 'curl_easy_setopt' 3407 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1374:21: note: declared here 1374 | CURLOPTDEPRECATED(CURLOPT_KRBLEVEL, CURLOPTTYPE_STRINGPOINT, 63, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ curl-helper.c:3413:13: warning: "failwith" is deprecated: use "caml_failwith" instead 3413 | failwith("Invalid KRB4 Option"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleProgressFunction': curl-helper.c:3431:13: warning: "failwith" is deprecated: use "caml_failwith" instead 3431 | failwith("Not a proper closure"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:3433:5: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 3433 | result = curl_easy_setopt(conn->connection, | ^~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1347:21: note: declared here 1347 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:55:7: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 55 | _Pragma("GCC diagnostic pop") | ^~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:47:7: note: in expansion of macro 'CURL_IGNORE_DEPRECATION' 47 | CURL_IGNORE_DEPRECATION( \ | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:3433:14: note: in expansion of macro 'curl_easy_setopt' 3433 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1347:21: note: declared here 1347 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ curl-helper.c: In function 'handleClosePolicy': curl-helper.c:3573:13: warning: "failwith" is deprecated: use "caml_failwith" instead 3573 | failwith("Invalid CLOSEPOLICY Option"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleRandomFile': curl-helper.c:3625:5: warning: 'CURLOPT_RANDOM_FILE' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations] 3625 | result = curl_easy_setopt(conn->connection, | ^~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1415:21: note: declared here 1415 | CURLOPTDEPRECATED(CURLOPT_RANDOM_FILE, CURLOPTTYPE_STRINGPOINT, 76, | ^~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:55:7: warning: 'CURLOPT_RANDOM_FILE' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations] 55 | _Pragma("GCC diagnostic pop") | ^~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:47:7: note: in expansion of macro 'CURL_IGNORE_DEPRECATION' 47 | CURL_IGNORE_DEPRECATION( \ | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:3625:14: note: in expansion of macro 'curl_easy_setopt' 3625 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1415:21: note: declared here 1415 | CURLOPTDEPRECATED(CURLOPT_RANDOM_FILE, CURLOPTTYPE_STRINGPOINT, 76, | ^~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ curl-helper.c: In function 'handleEGDSocket': curl-helper.c:3647:5: warning: 'CURLOPT_EGDSOCKET' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations] 3647 | result = curl_easy_setopt(conn->connection, | ^~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1419:21: note: declared here 1419 | CURLOPTDEPRECATED(CURLOPT_EGDSOCKET, CURLOPTTYPE_STRINGPOINT, 77, | ^~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:55:7: warning: 'CURLOPT_EGDSOCKET' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations] 55 | _Pragma("GCC diagnostic pop") | ^~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:47:7: note: in expansion of macro 'CURL_IGNORE_DEPRECATION' 47 | CURL_IGNORE_DEPRECATION( \ | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:3647:14: note: in expansion of macro 'curl_easy_setopt' 3647 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1419:21: note: declared here 1419 | CURLOPTDEPRECATED(CURLOPT_EGDSOCKET, CURLOPTTYPE_STRINGPOINT, 77, | ^~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ curl-helper.c: In function 'handleSSLVerifyHost': curl-helper.c:3707:13: warning: "failwith" is deprecated: use "caml_failwith" instead 3707 | failwith("Invalid SSLVERIFYHOST Option"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleHTTPVersion': curl-helper.c:3787:13: warning: "failwith" is deprecated: use "caml_failwith" instead 3787 | failwith("Invalid HTTP_VERSION Option"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleDNSUseGlobalCache': curl-helper.c:3832:5: warning: 'CURLOPT_DNS_USE_GLOBAL_CACHE' is deprecated: since 7.11.1. Use CURLOPT_SHARE [-Wdeprecated-declarations] 3832 | result = curl_easy_setopt(conn->connection, | ^~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1475:21: note: declared here 1475 | CURLOPTDEPRECATED(CURLOPT_DNS_USE_GLOBAL_CACHE, CURLOPTTYPE_LONG, 91, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:55:7: warning: 'CURLOPT_DNS_USE_GLOBAL_CACHE' is deprecated: since 7.11.1. Use CURLOPT_SHARE [-Wdeprecated-declarations] 55 | _Pragma("GCC diagnostic pop") | ^~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:47:7: note: in expansion of macro 'CURL_IGNORE_DEPRECATION' 47 | CURL_IGNORE_DEPRECATION( \ | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:3832:14: note: in expansion of macro 'curl_easy_setopt' 3832 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1475:21: note: declared here 1475 | CURLOPTDEPRECATED(CURLOPT_DNS_USE_GLOBAL_CACHE, CURLOPTTYPE_LONG, 91, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ curl-helper.c: In function 'handleDebugFunction': curl-helper.c:3850:13: warning: "failwith" is deprecated: use "caml_failwith" instead 3850 | failwith("Not a proper closure"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleHTTP200Aliases': curl-helper.c:3915:13: warning: "failwith" is deprecated: use "caml_failwith" instead 3915 | failwith("Not a string"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleHTTPAuth': curl-helper.c:4017:13: warning: "failwith" is deprecated: use "caml_failwith" instead 4017 | failwith("Invalid HTTPAUTH Value"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleProxyAuth': curl-helper.c:4097:13: warning: "failwith" is deprecated: use "caml_failwith" instead 4097 | failwith("Invalid HTTPAUTH Value"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleIPResolve': curl-helper.c:4165:13: warning: "failwith" is deprecated: use "caml_failwith" instead 4165 | failwith("Invalid IPRESOLVE Value"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleFTPSSL': curl-helper.c:4319:13: warning: "failwith" is deprecated: use "caml_failwith" instead 4319 | failwith("Invalid FTP_SSL Value"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleFTPSSLAuth': curl-helper.c:4400:13: warning: "failwith" is deprecated: use "caml_failwith" instead 4400 | failwith("Invalid FTPSSLAUTH value"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleIOCTLFunction': curl-helper.c:4423:13: warning: "failwith" is deprecated: use "caml_failwith" instead 4423 | failwith("Not a proper closure"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:4425:5: warning: 'CURLOPT_IOCTLFUNCTION' is deprecated: since 7.18.0. Use CURLOPT_SEEKFUNCTION [-Wdeprecated-declarations] 4425 | result = curl_easy_setopt(conn->connection, | ^~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1630:21: note: declared here 1630 | CURLOPTDEPRECATED(CURLOPT_IOCTLFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 130, | ^~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:55:7: warning: 'CURLOPT_IOCTLFUNCTION' is deprecated: since 7.18.0. Use CURLOPT_SEEKFUNCTION [-Wdeprecated-declarations] 55 | _Pragma("GCC diagnostic pop") | ^~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:47:7: note: in expansion of macro 'CURL_IGNORE_DEPRECATION' 47 | CURL_IGNORE_DEPRECATION( \ | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:4425:14: note: in expansion of macro 'curl_easy_setopt' 4425 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1630:21: note: declared here 1630 | CURLOPTDEPRECATED(CURLOPT_IOCTLFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 130, | ^~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:1133:44: note: in definition of macro 'CURLOPTDEPRECATED' 1133 | #define CURLOPTDEPRECATED(na, t, nu, v, m) na CURL_DEPRECATED(v, m) \ | ^~ curl-helper.c: In function 'handleFTPFileMethod': curl-helper.c:4571:13: warning: "failwith" is deprecated: use "caml_failwith" instead 4571 | failwith("Invalid FTP_FILEMETHOD value"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleSSHAuthTypes': curl-helper.c:4767:13: warning: "failwith" is deprecated: use "caml_failwith" instead 4767 | failwith("Invalid CURLSSH_AUTH_TYPES Value"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleFTPSSLCCC': curl-helper.c:4869:13: warning: "failwith" is deprecated: use "caml_failwith" instead 4869 | failwith("Invalid FTPSSL_CCC value"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleSeekFunction': curl-helper.c:5106:13: warning: "failwith" is deprecated: use "caml_failwith" instead 5106 | failwith("Not a proper closure"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'helper_curl_easy_setopt': curl-helper.c:5149:13: warning: "failwith" is deprecated: use "caml_failwith" instead 5149 | failwith(error); | ^~~~~~~~~~~~ curl-helper.c:5153:13: warning: "failwith" is deprecated: use "caml_failwith" instead 5153 | failwith("Not a block"); | ^~~~~~~~~~~~~~~~~~~~ curl-helper.c:5156:13: warning: "failwith" is deprecated: use "caml_failwith" instead 5156 | failwith("Insufficient data in block"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5164:13: warning: "failwith" is deprecated: use "caml_failwith" instead 5164 | failwith("Invalid CURLOPT Option"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'helper_curl_easy_perform': curl-helper.c:5181:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead 5181 | enter_blocking_section(); | ^~~~~~~~~~~~~~~~~ curl-helper.c:5183:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead 5183 | leave_blocking_section(); | ^~~~~~~~~~~~~~~~~ curl-helper.c: In function 'helper_curl_easy_duphandle': curl-helper.c:5219:13: warning: "alloc" is deprecated: use "caml_alloc" instead 5219 | result = alloc(1, Abstract_tag); | ^~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'convertStringList': curl-helper.c:5245:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 5245 | next = alloc_tuple(2); | ^~~~~~~~~~~~~~~~~~ curl-helper.c:5246:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 5246 | Store_field(next, 0, copy_string(p->data)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'helper_curl_easy_getinfo': curl-helper.c:5356:9: warning: 'CURLINFO_SIZE_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_UPLOAD_T [-Wdeprecated-declarations] 5356 | curlResult = curl_easy_getinfo(connection->connection, | ^~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2937:3: note: declared here 2937 | CURLINFO_SIZE_UPLOAD CURL_DEPRECATED(7.55.0, "Use CURLINFO_SIZE_UPLOAD_T") | ^~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:55:7: warning: 'CURLINFO_SIZE_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_UPLOAD_T [-Wdeprecated-declarations] 55 | _Pragma("GCC diagnostic pop") | ^~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:166:7: note: in expansion of macro 'CURL_IGNORE_DEPRECATION' 166 | CURL_IGNORE_DEPRECATION( \ | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5356:22: note: in expansion of macro 'curl_easy_getinfo' 5356 | curlResult = curl_easy_getinfo(connection->connection, | ^~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2937:3: note: declared here 2937 | CURLINFO_SIZE_UPLOAD CURL_DEPRECATED(7.55.0, "Use CURLINFO_SIZE_UPLOAD_T") | ^~~~~~~~~~~~~~~~~~~~ curl-helper.c:5366:9: warning: 'CURLINFO_SIZE_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations] 5366 | curlResult = curl_easy_getinfo(connection->connection, | ^~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2940:3: note: declared here 2940 | CURLINFO_SIZE_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:55:7: warning: 'CURLINFO_SIZE_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations] 55 | _Pragma("GCC diagnostic pop") | ^~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:166:7: note: in expansion of macro 'CURL_IGNORE_DEPRECATION' 166 | CURL_IGNORE_DEPRECATION( \ | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5366:22: note: in expansion of macro 'curl_easy_getinfo' 5366 | curlResult = curl_easy_getinfo(connection->connection, | ^~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2940:3: note: declared here 2940 | CURLINFO_SIZE_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5376:9: warning: 'CURLINFO_SPEED_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SPEED_DOWNLOAD_T [-Wdeprecated-declarations] 5376 | curlResult = curl_easy_getinfo(connection->connection, | ^~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2944:3: note: declared here 2944 | CURLINFO_SPEED_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:55:7: warning: 'CURLINFO_SPEED_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SPEED_DOWNLOAD_T [-Wdeprecated-declarations] 55 | _Pragma("GCC diagnostic pop") | ^~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:166:7: note: in expansion of macro 'CURL_IGNORE_DEPRECATION' 166 | CURL_IGNORE_DEPRECATION( \ | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5376:22: note: in expansion of macro 'curl_easy_getinfo' 5376 | curlResult = curl_easy_getinfo(connection->connection, | ^~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2944:3: note: declared here 2944 | CURLINFO_SPEED_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5386:9: warning: 'CURLINFO_SPEED_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_SPEED_UPLOAD_T [-Wdeprecated-declarations] 5386 | curlResult = curl_easy_getinfo(connection->connection, | ^~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2948:3: note: declared here 2948 | CURLINFO_SPEED_UPLOAD | ^~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:55:7: warning: 'CURLINFO_SPEED_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_SPEED_UPLOAD_T [-Wdeprecated-declarations] 55 | _Pragma("GCC diagnostic pop") | ^~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:166:7: note: in expansion of macro 'CURL_IGNORE_DEPRECATION' 166 | CURL_IGNORE_DEPRECATION( \ | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5386:22: note: in expansion of macro 'curl_easy_getinfo' 5386 | curlResult = curl_easy_getinfo(connection->connection, | ^~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2948:3: note: declared here 2948 | CURLINFO_SPEED_UPLOAD | ^~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5437:9: warning: 'CURLINFO_CONTENT_LENGTH_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T [-Wdeprecated-declarations] 5437 | curlResult = curl_easy_getinfo(connection->connection, | ^~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2957:3: note: declared here 2957 | CURLINFO_CONTENT_LENGTH_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:55:7: warning: 'CURLINFO_CONTENT_LENGTH_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T [-Wdeprecated-declarations] 55 | _Pragma("GCC diagnostic pop") | ^~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:166:7: note: in expansion of macro 'CURL_IGNORE_DEPRECATION' 166 | CURL_IGNORE_DEPRECATION( \ | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5437:22: note: in expansion of macro 'curl_easy_getinfo' 5437 | curlResult = curl_easy_getinfo(connection->connection, | ^~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2957:3: note: declared here 2957 | CURLINFO_CONTENT_LENGTH_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5447:9: warning: 'CURLINFO_CONTENT_LENGTH_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_UPLOAD_T [-Wdeprecated-declarations] 5447 | curlResult = curl_easy_getinfo(connection->connection, | ^~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2962:3: note: declared here 2962 | CURLINFO_CONTENT_LENGTH_UPLOAD | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:55:7: warning: 'CURLINFO_CONTENT_LENGTH_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_UPLOAD_T [-Wdeprecated-declarations] 55 | _Pragma("GCC diagnostic pop") | ^~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:166:7: note: in expansion of macro 'CURL_IGNORE_DEPRECATION' 166 | CURL_IGNORE_DEPRECATION( \ | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5447:22: note: in expansion of macro 'curl_easy_getinfo' 5447 | curlResult = curl_easy_getinfo(connection->connection, | ^~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2962:3: note: declared here 2962 | CURLINFO_CONTENT_LENGTH_UPLOAD | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5577:9: warning: 'CURLINFO_LASTSOCKET' is deprecated: since 7.45.0. Use CURLINFO_ACTIVESOCKET [-Wdeprecated-declarations] 5577 | curlResult = curl_easy_getinfo(connection->connection, | ^~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2979:3: note: declared here 2979 | CURLINFO_LASTSOCKET CURL_DEPRECATED(7.45.0, "Use CURLINFO_ACTIVESOCKET") | ^~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:55:7: warning: 'CURLINFO_LASTSOCKET' is deprecated: since 7.45.0. Use CURLINFO_ACTIVESOCKET [-Wdeprecated-declarations] 55 | _Pragma("GCC diagnostic pop") | ^~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:166:7: note: in expansion of macro 'CURL_IGNORE_DEPRECATION' 166 | CURL_IGNORE_DEPRECATION( \ | ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5577:22: note: in expansion of macro 'curl_easy_getinfo' 5577 | curlResult = curl_easy_getinfo(connection->connection, | ^~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:2979:3: note: declared here 2979 | CURLINFO_LASTSOCKET CURL_DEPRECATED(7.45.0, "Use CURLINFO_ACTIVESOCKET") | ^~~~~~~~~~~~~~~~~~~ curl-helper.c:5584:13: warning: "failwith" is deprecated: use "caml_failwith" instead 5584 | failwith("Invalid CURLINFO Option"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5594:13: warning: "alloc" is deprecated: use "caml_alloc" instead 5594 | result = alloc(1, StringValue); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5595:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 5595 | Store_field(result, 0, copy_string(strValue?strValue:"")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5599:13: warning: "alloc" is deprecated: use "caml_alloc" instead 5599 | result = alloc(1, LongValue); | ^~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5604:13: warning: "alloc" is deprecated: use "caml_alloc" instead 5604 | result = alloc(1, DoubleValue); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5605:13: warning: "copy_double" is deprecated: use "caml_copy_double" instead 5605 | Store_field(result, 0, copy_double(doubleValue)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5609:13: warning: "alloc" is deprecated: use "caml_alloc" instead 5609 | result = alloc(1, StringListValue); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'helper_curl_escape': curl-helper.c:5627:13: warning: "string_length" is deprecated: use "caml_string_length" instead 5627 | curlResult = curl_escape(String_val(str), string_length(str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5628:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 5628 | result = copy_string(curlResult); | ^~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'helper_curl_unescape': curl-helper.c:5644:13: warning: "string_length" is deprecated: use "caml_string_length" instead 5644 | curlResult = curl_unescape(String_val(str), string_length(str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5645:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 5645 | result = copy_string(curlResult); | ^~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'helper_curl_getdate': curl-helper.c:5664:13: warning: "copy_double" is deprecated: use "caml_copy_double" instead 5664 | result = copy_double((double)curlResult); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'helper_curl_version': curl-helper.c:5680:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 5680 | result = copy_string(str); | ^~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleHTTPProxyTunnel': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:1978:14: note: in expansion of macro 'curl_easy_setopt' 1978 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleVerbose': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:1993:14: note: in expansion of macro 'curl_easy_setopt' 1993 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleHeader': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:2008:14: note: in expansion of macro 'curl_easy_setopt' 2008 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleNoProgress': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:2023:14: note: in expansion of macro 'curl_easy_setopt' 2023 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleNoSignal': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:2039:14: note: in expansion of macro 'curl_easy_setopt' 2039 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleNoBody': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:2058:14: note: in expansion of macro 'curl_easy_setopt' 2058 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleFailOnError': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:2073:14: note: in expansion of macro 'curl_easy_setopt' 2073 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleUpload': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:2088:14: note: in expansion of macro 'curl_easy_setopt' 2088 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handlePost': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:2103:14: note: in expansion of macro 'curl_easy_setopt' 2103 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleFTPListOnly': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:2118:14: note: in expansion of macro 'curl_easy_setopt' 2118 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleFTPAppend': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:2133:14: note: in expansion of macro 'curl_easy_setopt' 2133 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleFollowLocation': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:2218:14: note: in expansion of macro 'curl_easy_setopt' 2218 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleTransferText': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:2233:14: note: in expansion of macro 'curl_easy_setopt' 2233 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handlePut': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:2248:14: note: in expansion of macro 'curl_easy_setopt' 2248 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleSSLEngineDefault': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:3121:14: note: in expansion of macro 'curl_easy_setopt' 3121 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleCRLF': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:3136:14: note: in expansion of macro 'curl_easy_setopt' 3136 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleTimeValue': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:3321:14: note: in expansion of macro 'curl_easy_setopt' 3321 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleSSLVerifyPeer': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:3454:14: note: in expansion of macro 'curl_easy_setopt' 3454 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleFileTime': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:3513:14: note: in expansion of macro 'curl_easy_setopt' 3513 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleClosePolicy': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:3561:18: note: in expansion of macro 'curl_easy_setopt' 3561 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:3567:18: note: in expansion of macro 'curl_easy_setopt' 3567 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleFreshConnect': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:3588:14: note: in expansion of macro 'curl_easy_setopt' 3588 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleForbidReuse': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:3603:14: note: in expansion of macro 'curl_easy_setopt' 3603 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleHTTPGet': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:3677:14: note: in expansion of macro 'curl_easy_setopt' 3677 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleSSLVerifyHost': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:3695:18: note: in expansion of macro 'curl_easy_setopt' 3695 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:3701:18: note: in expansion of macro 'curl_easy_setopt' 3701 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleFTPUseEPSV': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:3802:14: note: in expansion of macro 'curl_easy_setopt' 3802 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleDNSUseGlobalCache': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:3832:14: note: in expansion of macro 'curl_easy_setopt' 3832 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleUnrestrictedAuth': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:3944:14: note: in expansion of macro 'curl_easy_setopt' 3944 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleFTPUseEPRT': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:3964:14: note: in expansion of macro 'curl_easy_setopt' 3964 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleFTPCreateMissingDirs': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:4044:14: note: in expansion of macro 'curl_easy_setopt' 4044 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleMaxFileSize': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:4185:14: note: in expansion of macro 'curl_easy_setopt' 4185 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleTCPNoDelay': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:4359:14: note: in expansion of macro 'curl_easy_setopt' 4359 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleIgnoreContentLength': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:4505:14: note: in expansion of macro 'curl_easy_setopt' 4505 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleFTPSkipPASVIP': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:4525:14: note: in expansion of macro 'curl_easy_setopt' 4525 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleConnectOnly': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:4631:14: note: in expansion of macro 'curl_easy_setopt' 4631 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleSSLSessionIdCache': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:4718:14: note: in expansion of macro 'curl_easy_setopt' 4718 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleHTTPTransferDecoding': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:4929:14: note: in expansion of macro 'curl_easy_setopt' 4929 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleHTTPContentDecoding': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:4949:14: note: in expansion of macro 'curl_easy_setopt' 4949 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handlePost301': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:5009:14: note: in expansion of macro 'curl_easy_setopt' 5009 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'handleProxyTransferMode': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:5083:14: note: in expansion of macro 'curl_easy_setopt' 5083 | result = curl_easy_setopt(conn->connection, | ^~~~~~~~~~~~~~~~ curl-helper.c: In function 'helper_curl_easy_getinfo': /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/typecheck-gcc.h:172:13: warning: call to 'Wcurl_easy_getinfo_err_long' declared with attribute warning: curl_easy_getinfo expects a pointer to long [-Wattribute-warning] 172 | Wcurl_easy_getinfo_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/www/ocaml-curl/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ curl-helper.c:5427:22: note: in expansion of macro 'curl_easy_getinfo' 5427 | curlResult = curl_easy_getinfo(connection->connection, | ^~~~~~~~~~~~~~~~~ ar crus libcurl-helper.a curl-helper.o ranlib libcurl-helper.a ocamlc -custom -a -ccopt -Wl,-R/opt/local/lib -o curl.cma curl.cmo -cclib -lcurl-helper -cclib "-L/opt/local/lib -lcurl" ocamlopt.opt -c curl.ml -o curl.cmx ocamlopt.opt -a -ccopt -Wl,-R/opt/local/lib curl.cmx -o curl.cmxa -cclib -lcurl-helper -cclib "-L/opt/local/lib -lcurl" (cd examples; /opt/local/bin/gmake) gmake[2]: Entering directory '/tmp/work/www/ocaml-curl/work/ocurl/examples' gmake[3]: Entering directory '/tmp/work/www/ocaml-curl/work/ocurl/examples' gmake[3]: Leaving directory '/tmp/work/www/ocaml-curl/work/ocurl/examples' gmake[3]: Entering directory '/tmp/work/www/ocaml-curl/work/ocurl/examples' ocamlc -c -I .. ocurl.ml -o ocurl.cmo ocamlc -I .. -ccopt -L.. curl.cma ocurl.cmo -o ocurl ocamlopt.opt -c -I .. ocurl.ml -o ocurl.cmx ocamlopt.opt -I .. -ccopt -L.. curl.cmxa ocurl.cmx -o ocurl.opt ocamlc -c -I .. oput.ml -o oput.cmo ocamlc -I .. -ccopt -L.. curl.cma oput.cmo -o oput ocamlopt.opt -c -I .. oput.ml -o oput.cmx ocamlopt.opt -I .. -ccopt -L.. curl.cmxa oput.cmx -o oput.opt ocamlc -c -I .. ominimal.ml -o ominimal.cmo ocamlc -I .. -ccopt -L.. curl.cma ominimal.cmo -o ominimal ocamlopt.opt -c -I .. ominimal.ml -o ominimal.cmx ocamlopt.opt -I .. -ccopt -L.. curl.cmxa ominimal.cmx -o ominimal.opt ocamlc -c -I .. ossl.ml -o ossl.cmo ocamlc -I .. -ccopt -L.. curl.cma ossl.cmo -o ossl ocamlopt.opt -c -I .. ossl.ml -o ossl.cmx ocamlopt.opt -I .. -ccopt -L.. curl.cmxa ossl.cmx -o ossl.opt gmake[3]: Leaving directory '/tmp/work/www/ocaml-curl/work/ocurl/examples' gmake[2]: Leaving directory '/tmp/work/www/ocaml-curl/work/ocurl/examples' gmake[1]: Leaving directory '/tmp/work/www/ocaml-curl/work/ocurl'