curl/CMake
Viktor Szakats 2dbe75bd7f
build: fix some `-Wsign-conversion`/`-Warith-conversion` warnings
- enable `-Wsign-conversion` warnings, but also setting them to not
  raise errors.
- fix `-Warith-conversion` warnings seen in CI.
  These are triggered by `-Wsign-converion` and causing errors unless
  explicitly silenced. It makes more sense to fix them, there just a few
  of them.
- fix some `-Wsign-conversion` warnings.
- hide `-Wsign-conversion` warnings with a `#pragma`.
- add macro `CURL_WARN_SIGN_CONVERSION` to unhide them on a per-build
  basis.
- update a CI job to unhide them with the above macro:
  https://github.com/curl/curl/actions/workflows/linux.yml -> OpenSSL -O3

Closes #12492
2023-12-19 12:45:28 +00:00
..
Platforms cmake: prefill/cache `HAVE_STRUCT_SOCKADDR_STORAGE` 2023-12-18 14:56:56 +00:00
CMakeConfigurableFile.in
CurlSymbolHiding.cmake
CurlTests.c windows: delete redundant headers 2023-12-18 14:56:57 +00:00
FindBearSSL.cmake
FindBrotli.cmake
FindCARES.cmake
FindGSS.cmake
FindLibPSL.cmake
FindLibSSH2.cmake
FindMSH3.cmake
FindMbedTLS.cmake
FindNGHTTP2.cmake
FindNGHTTP3.cmake
FindNGTCP2.cmake
FindQUICHE.cmake
FindWolfSSL.cmake
FindZstd.cmake cmake: speed up zstd detection 2023-10-27 00:37:34 +00:00
Macros.cmake cmake: tidy-up `OtherTests.cmake` 2023-12-19 12:45:24 +00:00
OtherTests.cmake cmake: tidy-up `OtherTests.cmake` 2023-12-19 12:45:24 +00:00
PickyWarnings.cmake build: fix some `-Wsign-conversion`/`-Warith-conversion` warnings 2023-12-19 12:45:28 +00:00
Utilities.cmake
cmake_uninstall.cmake.in
curl-config.cmake.in cmake: fix multiple include of CURL package 2023-11-10 18:23:22 +00:00