[all-commits] [llvm/llvm-project] b233c5: [libc++] Fix use of std::errc() for C++ < 11 (#138...

Stephan Bergmann via All-commits all-commits at lists.llvm.org
Mon May 12 12:55:45 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b233c5fbe0af0daab426e8c9b1949c45d04749a5
      https://github.com/llvm/llvm-project/commit/b233c5fbe0af0daab426e8c9b1949c45d04749a5
  Author: Stephan Bergmann <sbergman at redhat.com>
  Date:   2025-05-12 (Mon, 12 May 2025)

  Changed paths:
    M libcxx/include/locale

  Log Message:
  -----------
  [libc++] Fix use of std::errc() for C++ < 11 (#138522)

After 8fc2538f338088bd084d217a7569d72c3b630e8c "Reapply '[libc++]
Optimize num_put integral functions' (#131613) (#133572)", including
<locale> in C++03 mode with Debug hardening enabled fails.

This patch fixes that by applying a workaround used elsewhere to
construct errc in C++03 mode.



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