Subject: | WWW-Curl-4.17 fails to build against curl 7.69.0 |
After upgrading curl to 7.69.0, WWW-Curl no longer buils.
gcc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"4.17\" -DXS_VERSION=\"4.17\" -fPIC
"-I/usr/lib64/perl5/CORE" Curl.c
[...]
curlopt-constants.c:185:46: error: 'CURL_WIN32' undeclared (first use in this function); did you mean 'CURLINFO'?
185 | if (strEQ(name, "WIN32")) return CURL_WIN32;
| ^~~~~~~~~~
| CURLINFO
Upgrading to 7.69.1 fails to solve the issue.