{"author":"Viktor Szakats","author_email":"commit@vsz.me","author_time":1739163469,"commit_time":1739188451,"committer":"Viktor Szakats","committer_email":"commit@vsz.me","hash":"f1d1c98b7f377e0d170b590b6c814697b22ee3c6","message":"cmake: fix `HAVE_GETHOSTBYNAME_R_*` detections with `CURL_WERROR=ON`\n\nFix `HAVE_GETHOSTBYNAME_R_*` feature detections always failing with\n`CURL_WERROR=ON` due to stripping a const.\n\nAlso fix the GHA/cmake-vs-configure to enable `CURL_WERROR=ON` to sync\nthis setting with `./configure` which enables it by default. With that,\nCI detects this issue.\n\n```\nCMake/CurlTests.c:73:19: error: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]\n   73 |   char *address = \"example.com\";\n      |                   ^~~~~~~~~~~~~\n```\nRef: https://github.com/curl/curl/actions/runs/13225827821/job/36916564107#step:33:4198\n\nCloses #16282\n","parents":["29e4eda631f46368c2adf833ba3065b1b46c2a7d"],"tree_hash":"e3feb6b1503a7feb4577c9cabd364317804fd1ab"}