[all-commits] [llvm/llvm-project] 8b73da: [libc++][format] Disables the FTM on older MacOS v...

Mark de Wever via All-commits all-commits at lists.llvm.org
Sat Feb 15 22:11:28 PST 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b73dad2247835d4f97dc0a731d3173ce573d597
      https://github.com/llvm/llvm-project/commit/8b73dad2247835d4f97dc0a731d3173ce573d597
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2025-02-15 (Sat, 15 Feb 2025)

  Changed paths:
    M libcxx/include/version
    M libcxx/test/std/language.support/support.limits/support.limits.general/format.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/ostream.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/print.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
    M libcxx/utils/generate_feature_test_macro_components.py

  Log Message:
  -----------
  [libc++][format] Disables the FTM on older MacOS versions. (#126547)

On older MacOS versions where `std::to_chars` for floating-point types
is not available the format library can't be used. Due to some issue
with the availability macro used to disable format on MacOS the issue
triggers regardless of the type being formatted.

The print library has the same issue.

Fixes: #125353
(cherry picked from commit fbd92d098500775501ba917f21e094f4d714f562)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list