Skip to content

Conversation

@ziyao233
Copy link
Owner

LLVM libc++ starts to provide a float-point-capable std::from_chars() since LLVM 20 release. Unconditionally defining from_chars() when using Clang will cause ambiguous references and fails the build.

Link: llvm/llvm-project#91651 # [1]

  • Accept to license the library and tools code under the terms
    of the LGPL 2.0 or later
  • Accept to license the library and tools code under the terms
    of the MPL 2.0
  • Accept to license the test code under the terms
    of the MIT-0
  • Read contributions guidelines
  • Checked coding style
  • The commits sequence is clean without work in progress/bugged revisions and merge commits. In doubt, squash the commits and/or rebase master

LLVM libc++ starts to provide a float-point-capable std::from_chars()
since LLVM 20 release. Unconditionally defining from_chars() when
using Clang will cause ambiguous references and fails the build.

Link: llvm/llvm-project#91651 # [1]
Signed-off-by: Yao Zi <[email protected]>
@ziyao233 ziyao233 closed this Jun 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants