fmt icon indicating copy to clipboard operation
fmt copied to clipboard

A modern formatting library

Results 66 fmt issues
Sort by recently updated
recently updated
newest added

``` /usr/home/buildbot/freebsd/pr-freebsd-x64/build/Source/UnitTests/Common/BitFieldTest.cpp:234:27: error: call to consteval function 'fmt::basic_format_string::basic_format_string' is not a constant expression EXPECT_EQ(fmt::format("{:02x}", object.full_u64), ^ /usr/home/buildbot/freebsd/pr-freebsd-x64/build/Source/UnitTests/Common/BitFieldTest.cpp:234:27: note: undefined constructor 'basic_format_string' cannot be used in a constant expression /usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/fmt/include/fmt/core.h:3115:28: note:...

Fixes #2952. The testsuite indirectly called `strftime()` with conversion specifiers defined only in C99. In MSVCRT this function conforms only to C89. Only in the updated UCRT this functon provides...

Minimal changes to make fmt::formatted_size constexpr in C++20. Adjust the existing unit test accordingly.

Hi! Friendly neighborhood STL implementor here 😸 After implementing [P2499R0][] in microsoft/stl#2947, the test [enforce-checks-test][] now fails. Compiler output ``` C:\Users\nimazzuc\projects\fmt\include\fmt\core.h(2742): error C2039: 'parse': is not a member of 'fmt::v9::detail::fallback_formatter'...

The `fmt` test suite does not pass using the 22.3 NVIDIA HPC compilers. I tested this with today's master (682e097bee9aaa88e9c9826e72d87c2ec1b1226b) and confirmed I could reproduce using NVIDIA's own Docker images...

Hello, these are some test failures of a clean build of `fmt` under MSYS2/MinGW x64 on Windows 10 x64. Not sure what's going on here, I will investigate further --...

help wanted

https://fmt.dev/latest/syntax.html#range-format-specifications

Exceptions are not supported, as they are not formattable: ```` int main() try { std::vector vec; vec.at(42); } catch(const std::out_of_range& ex){ fmt::print("{}", ex); } ```` https://godbolt.org/z/ejTMEYr3b In practice, the expected/desired...

help wanted

With `strftime` a single digit 12-hour hour can be formatted to not have a leading zero using `%-I`. This seems to not be possible with `fmt::format`. ``` #include #include int...

enhancement
help wanted

This is a request/discussion issue: I feel the documentation around how to do this well is somewhat minimal. If there are known best practices, it'd be really nice to document...