You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clean compilation so that when this is CRULOPT_PUT Is finally removed there won't be errors.
Actual behaviour
Warnings like4:
source/connection.cc: In member function 'RestClient::Response RestClient::Connection::put(const std::string&, const std::string&)':
source/connection.cc:490:38: warning: 'CURLOPT_PUT' is deprecated: since 7.12.1. Use CURLOPT_UPLOAD [-Wdeprecated-declarations]
490 | curl_easy_setopt(this->curlHandle, CURLOPT_PUT, 1L);
| ^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/curl/curl.h:1286:3: note: declared here
1286 | CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54,
| ^~~~~~~~~~~~~~~~~
Environment and debugging details
compiler and version debian 12.2.0-14 (12.0.0)
operating system Debian bookworm.
version of restclient-cpp 0.5.2
how did you install restclient-cpp? (via packages, git, tarball) git
libcurl version and compile flags
Debian packages are:
bookworm > dpkg -l |grep libcurl
ii libcurl3-gnutls:amd64 7.88.1-10+deb12u6 amd64 easy-to-use client-side URL transfer library (GnuTLS flavour)
ii libcurl3-nss:amd64 7.88.1-10+deb12u6 amd64 easy-to-use client-side URL transfer library (NSS flavour)
ii libcurl4:amd64 7.88.1-10+deb12u6 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour)
ii libcurl4-openssl-dev:amd64 7.88.1-10+deb12u6 amd64 development files and documentation for libcurl (OpenSSL flavour)
full error output of your build as an inline codeblock or gist
See Actual behavior above.
(some of these things might not apply but the more you can provide the easier
it will be to fix this bug. Thanks!)
NOTE:
While the package installs, I put this here as a placeholder because the warnings probably indicate at some point the macro CURLOPT_PUT will vanish and reporting this allows you to get out ahead of this.
The text was updated successfully, but these errors were encountered:
Expected behaviour
Clean compilation so that when this is CRULOPT_PUT Is finally removed there won't be errors.
Actual behaviour
Warnings like4:
Environment and debugging details
debian 12.2.0-14 (12.0.0)
Debian packages are:
See Actual behavior above.
(some of these things might not apply but the more you can provide the easier
it will be to fix this bug. Thanks!)
NOTE:
While the package installs, I put this here as a placeholder because the warnings probably indicate at some point the macro CURLOPT_PUT will vanish and reporting this allows you to get out ahead of this.
The text was updated successfully, but these errors were encountered: