curl/tests/http/clients
Viktor Szakats 5cefda1b93
build: tidy up deprecation suppression, enable warnings for clang
Suppress deprecation warnings the closest to the deprecated code, using
`CURL_IGNORE_DEPRECATION()`. Then drop build-specific suppressions, and
file-wide ones. The latter is not compatible with Unity mode. Also
replace manual suppressions with a macro to apply to all compilers with
deprecation warning support. Also enable deprecation warnings for clang.

- curl/curl.h: enable deprecation warnings for clang.

- docs/examples: stop setting `CURL_DISABLE_DEPRECATION` with autotools.
  Suppression moved to C-level earlier. Syncs with cmake.
  Follow-up to 5fc61a37c1 #14123

- tests/http/clients: stop setting `CURL_DISABLE_DEPRECATION` in
  autotools. If it becomes necessary in the future, it can be done in
  C via the macro. Syncs with cmake.

- lib1545: stop setting `CURL_DISABLE_DEPRECATION` in autotools.
  Drop guard from test source.
  Follow-up to 0f10360073 #12444

- libtest, unit: replace `CURL_DISABLE_DEPRECATION` with
  `CURL_IGNORE_DEPRECATION()`.

- docs/examples: replace pragmas with `CURL_IGNORE_DEPRECATION()`.

Closes #14789
2024-09-21 00:59:52 +02:00
..
.gitignore request: correctly reset the eos_sent flag 2024-09-13 13:28:10 +02:00
CMakeLists.txt printf: fix mingw-w64 format checks 2024-09-02 21:03:01 +02:00
h2-pausing.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
h2-serverpush.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
h2-upgrade-extreme.c build: make CURL_FORMAT_CURL_OFF_T[U] work with mingw-w64 <=7.0.0 2024-08-22 10:45:04 +02:00
hx-download.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
hx-upload.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
Makefile.am build: tidy up deprecation suppression, enable warnings for clang 2024-09-21 00:59:52 +02:00
Makefile.inc request: correctly reset the eos_sent flag 2024-09-13 13:28:10 +02:00
tls-session-reuse.c build: make CURL_FORMAT_CURL_OFF_T[U] work with mingw-w64 <=7.0.0 2024-08-22 10:45:04 +02:00
upload-pausing.c build: make CURL_FORMAT_CURL_OFF_T[U] work with mingw-w64 <=7.0.0 2024-08-22 10:45:04 +02:00
ws-data.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
ws-pingpong.c tidy-up: spelling WebSockets 2024-08-22 17:43:57 +02:00