ci: Turn off errors for deprecated-declarations
authorColin Walters <walters@verbum.org>
Wed, 26 Apr 2023 13:37:22 +0000 (09:37 -0400)
committerColin Walters <walters@verbum.org>
Wed, 26 Apr 2023 13:37:22 +0000 (09:37 -0400)
commit3391d8f3f0579e9686c43325dd8c8509a4844ac9
treec641dbad26a3ca0e48718dc4fef0a1f7bc54f1e6
parent90f7c7bd9f98ebcdff81e0363a4d0117b876d5c3
ci: Turn off errors for deprecated-declarations

Having `-Werror` on in CI only by default has generally worked OK,
but I don't think it's worth trying to immediately scramble to port
when they deprecate APIs.

Motivated in this case by
```
 src/libostree/ostree-fetcher-curl.c: In function 'initiate_next_curl_request':
src/libostree/ostree-fetcher-curl.c:876:3: error: 'CURLOPT_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_PROTOCOLS_STR [-Werror=deprecated-declarations]
  876 |   rc = curl_easy_setopt (req->easy, CURLOPT_PROTOCOLS, (long)(CURLPROTO_HTTP | CURLPROTO_HTTPS | CURLPROTO_FILE));
      |   ^~
```
ci/build-check.sh
ci/build.sh