[libcxx-commits] [libcxx] [libc++] Suppress unsigned-integer-overflow warning in <charconv> (PR #225801)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 24 00:20:15 PDT 2026


hchataing wrote:

This is the exact error.
```
prebuilts/clang/host/linux-x86/clang-r596125/include/c++/v1/__charconv/traits.h:181:19: runtime error: unsigned integer overflow: 18446744073709551615 + 1 cannot be represented in type 'unsigned long'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior prebuilts/clang/host/linux-x86/clang-r596125/include/c++/v1/__charconv/traits.h:181:19 
```

https://github.com/llvm/llvm-project/pull/225801


More information about the libcxx-commits mailing list