* installing *source* package 'RCurl' ... ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 13.2.0' gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -ID:/rtools44/x86_64-w64-mingw32.static.posix/include -DCURL_STATICLIB -DPSL_STATIC -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c base64.c -o base64.o gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -ID:/rtools44/x86_64-w64-mingw32.static.posix/include -DCURL_STATICLIB -DPSL_STATIC -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c curl.c -o curl.o curl.c: In function 'R_curl_easy_setopt': curl.c:176:29: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 176 | f = (curl_write_callback) val; | ^ curl.c:193:17: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 193 | } else if(opt == CURLOPT_PROGRESSFUNCTION && TYPEOF(el) == CLOSXP) { | ^ In file included from Rcurl.h:4, from curl.c:1: D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:1291:3: note: declared here 1291 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ curl.c:197:17: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 197 | } else if(opt == CURLOPT_PROGRESSFUNCTION && TYPEOF(el) == EXTPTRSXP) { | ^ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:1291:3: note: declared here 1291 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ curl.c: In function 'R_post_form': curl.c:368:9: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 368 | int style = CURLOPT_HTTPPOST; | ^~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:1191:3: note: declared here 1191 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ curl.c:372:17: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 372 | style = CURLOPT_HTTPPOST; | ^~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:1191:3: note: declared here 1191 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ curl.c:374:13: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 374 | if(style != CURLOPT_HTTPPOST && style != CURLOPT_POST) { | ^~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:1191:3: note: declared here 1191 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ curl.c:382:9: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 382 | if(style == CURLOPT_HTTPPOST) { | ^~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:1191:3: note: declared here 1191 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ curl.c:399:9: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 399 | if(style != CURLOPT_HTTPPOST) { | ^~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:1191:3: note: declared here 1191 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ curl.c: In function 'addFormElement': curl.c:450:20: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 450 | curl_formadd(post, last, | ^~~~~~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ curl.c:451:30: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 451 | CURLFORM_PTRNAME, CHAR(name), | ^~~~~~~~~~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:2507:3: note: declared here 2507 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ curl.c:452:30: warning: 'CURLFORM_BUFFER' is deprecated: since 7.56.0. Use curl_mime_filename() [-Wdeprecated-declarations] 452 | CURLFORM_BUFFER, filename, | ^~~~~~~~~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:2517:3: note: declared here 2517 | CURLFORM_BUFFER CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"), | ^~~~~~~~~~~~~~~ curl.c:453:30: warning: 'CURLFORM_BUFFERPTR' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 453 | CURLFORM_BUFFERPTR, buf, | ^~~~~~~~~~~~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:2518:3: note: declared here 2518 | CURLFORM_BUFFERPTR CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~ curl.c:454:30: warning: 'CURLFORM_BUFFERLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 454 | CURLFORM_BUFFERLENGTH, strlen(buf), | ^~~~~~~~~~~~~~~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_BUFFERLENGTH CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ curl.c:455:30: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations] 455 | CURLFORM_CONTENTTYPE, type, | ^~~~~~~~~~~~~~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:2521:3: note: declared here 2521 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"), | ^~~~~~~~~~~~~~~~~~~~ curl.c:458:20: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 458 | curl_formadd(post, last, | ^~~~~~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ curl.c:459:30: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 459 | CURLFORM_PTRNAME, CHAR(name), | ^~~~~~~~~~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:2507:3: note: declared here 2507 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ curl.c:460:30: warning: 'CURLFORM_BUFFER' is deprecated: since 7.56.0. Use curl_mime_filename() [-Wdeprecated-declarations] 460 | CURLFORM_BUFFER, filename, | ^~~~~~~~~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:2517:3: note: declared here 2517 | CURLFORM_BUFFER CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"), | ^~~~~~~~~~~~~~~ curl.c:461:30: warning: 'CURLFORM_BUFFERPTR' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 461 | CURLFORM_BUFFERPTR, buf, | ^~~~~~~~~~~~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:2518:3: note: declared here 2518 | CURLFORM_BUFFERPTR CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~ curl.c:462:30: warning: 'CURLFORM_BUFFERLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 462 | CURLFORM_BUFFERLENGTH, strlen(buf), | ^~~~~~~~~~~~~~~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_BUFFERLENGTH CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ curl.c:466:20: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 466 | curl_formadd(post, last, | ^~~~~~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ curl.c:467:30: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 467 | CURLFORM_PTRNAME, CHAR(name), | ^~~~~~~~~~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:2507:3: note: declared here 2507 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ curl.c:468:30: warning: 'CURLFORM_FILE' is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations] 468 | CURLFORM_FILE, filename, | ^~~~~~~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:2515:3: note: declared here 2515 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"), | ^~~~~~~~~~~~~ curl.c:469:30: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations] 469 | CURLFORM_CONTENTTYPE, type, | ^~~~~~~~~~~~~~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:2521:3: note: declared here 2521 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"), | ^~~~~~~~~~~~~~~~~~~~ curl.c:472:20: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 472 | curl_formadd(post, last, | ^~~~~~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ curl.c:473:30: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 473 | CURLFORM_PTRNAME, CHAR(name), | ^~~~~~~~~~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:2507:3: note: declared here 2507 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ curl.c:474:30: warning: 'CURLFORM_FILE' is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations] 474 | CURLFORM_FILE, filename, | ^~~~~~~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:2515:3: note: declared here 2515 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"), | ^~~~~~~~~~~~~ curl.c:497:9: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 497 | curl_formadd(post, last, | ^~~~~~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ curl.c:498:22: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 498 | CURLFORM_PTRNAME, CHAR(name), | ^~~~~~~~~~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:2507:3: note: declared here 2507 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ curl.c:499:22: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 499 | CURLFORM_NAMELENGTH, strlen(CHAR(name)), | ^~~~~~~~~~~~~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:2508:3: note: declared here 2508 | CURLFORM_NAMELENGTH CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~ curl.c:500:22: warning: 'CURLFORM_PTRCONTENTS' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 500 | CURLFORM_PTRCONTENTS, CHAR(STRING_ELT(el, i)), | ^~~~~~~~~~~~~~~~~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:2510:3: note: declared here 2510 | CURLFORM_PTRCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~ gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -ID:/rtools44/x86_64-w64-mingw32.static.posix/include -DCURL_STATICLIB -DPSL_STATIC -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c curlInit.c -o curlInit.o gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -ID:/rtools44/x86_64-w64-mingw32.static.posix/include -DCURL_STATICLIB -DPSL_STATIC -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c curl_base64.c -o curl_base64.o gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -ID:/rtools44/x86_64-w64-mingw32.static.posix/include -DCURL_STATICLIB -DPSL_STATIC -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c enums.c -o enums.o In file included from CurlOptEnums.h:10, from enums.c:79: CURLOptTable.h:23:3: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 23 | CINIT(HTTPPOST, OBJECTPOINT, 24), | ^~~~~ In file included from enums.c:1: D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:1191:3: note: declared here 1191 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ CURLOptTable.h:58:3: warning: 'CURLOPT_PUT' is deprecated: since 7.12.1. Use CURLOPT_UPLOAD [-Wdeprecated-declarations] 58 | CINIT(PUT, LONG, 54), /* HTTP PUT */ | ^~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:1282:3: note: declared here 1282 | CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54, | ^~~~~~~~~~~~~~~~~ CURLOptTable.h:59:3: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 59 | CINIT(PROGRESSFUNCTION, FUNCTIONPOINT, 56), | ^~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:1291:3: note: declared here 1291 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ CURLOptTable.h:79:3: warning: 'CURLOPT_RANDOM_FILE' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations] 79 | CINIT(RANDOM_FILE, OBJECTPOINT, 76), | ^~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:1360:3: note: declared here 1360 | CURLOPTDEPRECATED(CURLOPT_RANDOM_FILE, CURLOPTTYPE_STRINGPOINT, 76, | ^~~~~~~~~~~~~~~~~ CURLOptTable.h:80:3: warning: 'CURLOPT_EGDSOCKET' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations] 80 | CINIT(EGDSOCKET, OBJECTPOINT, 77), | ^~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:1364:3: note: declared here 1364 | CURLOPTDEPRECATED(CURLOPT_EGDSOCKET, CURLOPTTYPE_STRINGPOINT, 77, | ^~~~~~~~~~~~~~~~~ CURLOptTable.h:94:3: warning: 'CURLOPT_DNS_USE_GLOBAL_CACHE' is deprecated: since 7.11.1. Use CURLOPT_SHARE [-Wdeprecated-declarations] 94 | CINIT(DNS_USE_GLOBAL_CACHE, LONG, 91), /* To become OBSOLETE soon */ | ^~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:1420:3: note: declared here 1420 | CURLOPTDEPRECATED(CURLOPT_DNS_USE_GLOBAL_CACHE, CURLOPTTYPE_LONG, 91, | ^~~~~~~~~~~~~~~~~ CURLOptTable.h:129:3: warning: 'CURLOPT_IOCTLFUNCTION' is deprecated: since 7.18.0. Use CURLOPT_SEEKFUNCTION [-Wdeprecated-declarations] 129 | CINIT(IOCTLFUNCTION, FUNCTIONPOINT, 130), | ^~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:1576:3: note: declared here 1576 | CURLOPTDEPRECATED(CURLOPT_IOCTLFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 130, | ^~~~~~~~~~~~~~~~~ CURLOptTable.h:130:3: warning: 'CURLOPT_IOCTLDATA' is deprecated: since 7.18.0. Use CURLOPT_SEEKDATA [-Wdeprecated-declarations] 130 | CINIT(IOCTLDATA, OBJECTPOINT, 131), | ^~~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/include/curl/curl.h:1578:3: note: declared here 1578 | CURLOPTDEPRECATED(CURLOPT_IOCTLDATA, CURLOPTTYPE_CBPOINT, 131, | ^~~~~~~~~~~~~~~~~ In file included from enums.c:80: CurlInfoEnums.h:6:1: warning: ISO C forbids empty initializer braces before C2X [-Wpedantic] 6 | { | ^ CurlInfoEnums.h:5:11: error: zero or negative size array 'CurlInfoNames' 5 | NameValue CurlInfoNames[] = | ^~~~~~~~~~~~~ make: *** [D:/RCompile/recent/R/etc/x64/Makeconf:289: enums.o] Error 1 ERROR: compilation failed for package 'RCurl' * removing 'd:/RCompile/CRANincoming/R-devel/lib/RCurl'