You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fmt/format-inl.h:417:51: runtime error: unsigned integer overflow: 11 - 52 cannot be represented in type 'unsigned long'
fmt/format-inl.h:484:53: runtime error: unsigned integer overflow: 18446744073709551607 * 1292913986 cannot be represented in type 'unsigned long'
fmt/format-inl.h:417:35: runtime error: unsigned integer overflow: 1020 - 1023 cannot be represented in type 'unsigned long'
found with -fsanitize=undefined -fsanitize=unsigned-integer-overflow (clang 9)
I'm not sure if it is intentional or not. Reproducible on fmt-6.1.2
It can be also suppressed with __attribute__((no_sanitize("unsigned-integer-overflow")))
The text was updated successfully, but these errors were encountered:
example:
fmt::print("{}, {}\n", 2172.112284689786, 0.18808973381374017);
found with
-fsanitize=undefined -fsanitize=unsigned-integer-overflow
(clang 9)I'm not sure if it is intentional or not. Reproducible on fmt-6.1.2
It can be also suppressed with
__attribute__((no_sanitize("unsigned-integer-overflow")))
The text was updated successfully, but these errors were encountered: