diff options
author | Viktor Szakats <commit@vsz.me> | 2025-02-27 23:54:47 +0100 |
---|---|---|
committer | Viktor Szakats <commit@vsz.me> | 2025-02-28 03:40:40 +0100 |
commit | 399cb7130a375efeeaac7f286a3ee99e227b4fb5 (patch) | |
tree | bf02d70b35b1b4ea4e5aa307b667f4d7cb9dd4b5 /docs/examples/htmltitle.cpp | |
parent | 5a021aba41f1181092b0ba56f4dbd75d26f84b96 (diff) |
cmake: drop `HAVE_C_FLAG_Wno_long_double` logic for ancient Apple gcc
The initial curl CMake commit introduced it in 2009-04-02 via
4c5307b45655ba75ab066564afdc0c111a8b9291. Suppressing a stray
`-Wlong-double` warning in `mprintf.c`. This was before Apple switched
to clang, and likely affected the Apple distributed GCC, version 4.2.1
at the time. It applied the workaround to CMake builds only, though
the issue seems build-tool agnostic. Yet, it was not suppressed or
reported for autotools builds.
For these reasons this logic seems obsolete and this patch drops it with
no replacement. It saves a feature detection for GCC builds for macOS.
In PR sub-commits I added (and reverted) in-source suppression. In case
it becomes necessary, that should fix it for all build tools.
Closes #16513
Diffstat (limited to 'docs/examples/htmltitle.cpp')
0 files changed, 0 insertions, 0 deletions