-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
warning C4018: '<=': signed/unsigned mismatch #2763
Comments
Same situation with gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0:
|
mauer
added a commit
to mauer/xmidictrl
that referenced
this issue
Mar 24, 2022
REVERT: 17dda583 constexpr -> const for portability REVERT: 7ffe87c0 Fix docs REVERT: 3c4273dd Simplify UDL REVERT: 36d95c9f Fix docs REVERT: 44abd1f4 Update signatures in docs and ostream.h REVERT: db745986 Workaround broken std::numeric_limits REVERT: 8271e43e Improve __float128 support and use constexpr REVERT: 3f9b7433 Improve __float128 support REVERT: 71778e8b Specialize float_info for __float128 REVERT: f024565c Improve exponent handling in Dragon REVERT: e7f31f5c Cleanup format_dragon REVERT: 3c61799f Cleanup fuzzing mode REVERT: 4e39e130 Remove xchar.h include from ostream.h REVERT: ac0d9d5f Issue #2816: also strip named-arg for the fallback formatter REVERT: 4ad90578 Fix #2818: diagnose unformattable arguments in unpacked case REVERT: 17ba99c1 Fix #2817: add compile-time checking to ostream overloads of fmt::print REVERT: 3d19be28 Fix #2816: strip named argument wrappers for compile-time checking REVERT: c076a54a Move snprintf_float to format.h REVERT: 0419d238 Add FMT_USE_FLOAT128 REVERT: 69396347 Update color.h (#2815) REVERT: c51604a0 Reduce the number of configs REVERT: 587dc994 Remove windows-2016 env no longer suppported by GA REVERT: 1f3d44b8 Update std::tm/chrono docs REVERT: bc654faf Add is_floating_point that works with __float128 REVERT: 26bffce6 Simplify basic_memory_buffer REVERT: ed18ca3e Implement isnan REVERT: a204b8dd Add initial __float128 support REVERT: b6b003b0 Cleanup test REVERT: f2543b0a Add initial support for 128-bit floats REVERT: 72f48756 Simplify float_info REVERT: f91f61cd Reuse num_significand_bits REVERT: 9a1beab5 Workaround Windows API garbage REVERT: a8fe8bec Fix compilation error for ranges with ADL `begin`/`end` (#2807) REVERT: f6bcb25e Remove extra dot REVERT: b4a4189d Fix handling of implicit bit REVERT: 32d477e5 Add `styled` in documentation (#2805) REVERT: 0b7c045a Simplify _cf REVERT: c10fffec Make _cf visible in the doc build REVERT: dcfbe4a7 Document output_file default behavior correctly (#2803) REVERT: 8c9bc070 Implement styled arguments (#2793) REVERT: 5bc39d36 Eliminate intel compiler warnings (#2802) REVERT: e3d688e7 Fix warning C4251: class fmt::v8::file needs to have dll-interface (#2797) REVERT: 8d4f3e91 Update docs REVERT: 0cef1f81 Fixing formatting of certain kinds of ranges of ranges. (#2787) REVERT: 5c0d6564 Fix apt install REVERT: d416a995 Update README.rst REVERT: 3f67a124 Update README.rst REVERT: cc57e359 Update godbolt link in the readme (#2789) REVERT: 86477f7e Fix size computation REVERT: 0742606f Fix Conversion Warning (#2782) REVERT: 1ba69fb5 Remove snprintf FP fallback REVERT: ea6f0bf0 Minor cleanup REVERT: 1a18a2f3 Fixing "C4127: conditional expression is constant" Visual Studio 2022 warning in pedantic mode (#2783) REVERT: 4fcacea3 Parameterized fp on significand type REVERT: cf940ae8 Simplify to_decimal REVERT: 70dc3de0 Update format.h REVERT: cbc59ca8 Clear moved from memory buffer REVERT: ea3d326c Fix clang -Wliteral-range warning (#2779) REVERT: aad44f28 Add fmt::enums::format_as REVERT: 1319719a Add underlying_t REVERT: af5d8004 Limit Dragonbox to supported FP formats REVERT: 7b964209 Remove unused include REVERT: a0b43bfa Add support for 96-bit long double REVERT: 2c8cd2db Fix handling of zero precision REVERT: b6d56170 Remove unnecessary inline REVERT: 05432e57 Use consistent indentation REVERT: 47da218c Remove uintptr_fallback REVERT: 4ddab890 Merge accumulator into int128_fallback REVERT: d38f72af Refactor fallback ints REVERT: 15c2a3ba int128_t -> int128_opt REVERT: 532a69a6 Fix handling of 96-bit long double with -m32 REVERT: d8e1dd4a improve installing headers REVERT: ae25f796 add ability to build Apple framework using CMAKE_FRAMEWORK REVERT: ce93a66d Implement a fallback uint128_t REVERT: 6a134640 Include 128-bit with other signed integers in specifier check REVERT: 70de324a Apply 2746 fix for NVidia compiler also (#2770) REVERT: a1ea3e01 Move built-in formatter specialization to core REVERT: 161059dd Add support for extended precision FP REVERT: c4c6b42d Bump version REVERT: 21785040 Fix markup REVERT: 2b6f7fc7 Add partial support for extended precision FP REVERT: 0a24a071 Clz builtin may be not constexpr (Issue #2761) (#2762) REVERT: ba6f89c7 Update .bazelversion (#2766) REVERT: 5594edaf Address fmtlib/fmt#2763 (#2765) REVERT: 10e3b83a Replace ``make_args_checked`` with ``make_format_args`` (#2760) REVERT: c48353cb Update docs REVERT: 083510f0 Add FMT_CONSTEXPR to rotr instead REVERT: dba99bc8 Revert adding constexpr to rotr to satisfy C++11 compilers REVERT: c04af4bf Simplify remove_trailing_zeros REVERT: b348caa9 Remove some C-style casts for consistency REVERT: c8bd1e64 Simplify remove_trailing_zeros REVERT: 9b23e9dc Fix wrong comment/refer to a correct reference REVERT: 69f2c550 Remove std:: infront of uint32_t/64_t & add constexpr to rotr REVERT: 9b62310f Fix some conversion issues REVERT: 08d12f31 Fix typo REVERT: dbddb1d0 Remove literal separator to satisfy some compilers REVERT: 7dbe3dcd Recover log10_2_significand REVERT: 10642e60 Optimize remove_trailing_zeros REVERT: 7b4323e1 Add rotr REVERT: f1bd6f77 Check r < deltai first, because that is the major branch chosen for short inputs REVERT: 5d8eb6a1 Reflect the new paper - Change constants appearing in log & division computations - Rename beta_minus_1 to beta REVERT: 8e2e4d40 Suppress a gcc warning REVERT: a44716f5 Workaround to Intel compiler (#2758) REVERT: c71b0701 Add missing const qualifier (#2755) REVERT: ecd6022c Update docs REVERT: afbcf1e8 Remove legacy C locale wrapper REVERT: 90325d09 Fix stored type detection REVERT: e2ba01fc Fix overload ambiguity in print REVERT: 17b362f7 Simplify ostream opt-in API REVERT: a5a7e3a2 Update docs REVERT: f055ebbd Make ostream operators opt in to reduce the risk of ODR violations REVERT: 8a21e328 Remove problematic constructibility check REVERT: 31e743d0 Don't use ostream for types convertible to string_view REVERT: 35c0286c Simplify byte handling REVERT: c7173a36 Drop :: and fix formatting REVERT: 3e8372b9 qualify unqualified calls to format in compile.h (#2742) REVERT: a34a97cc Supporting ? as a string presentation type (#2674) REVERT: ae1aaaee Fix access mode of files created (#2530) (#2733) REVERT: 1557ab76 Add format_as for enums REVERT: b00a1eac Fixes NVIDIA HPC compiler and Intel ICC compatibility (#2732) REVERT: a7aecbfc Remove an old mingw workaround REVERT: dfcc730c Making target_compile_options PRIVATE, fix #2726, fix #2507 REVERT: f7a809be Clarify the choice of magic numbers and compute the most magic one REVERT: 09fde7f4 Add fmt::underlying for enum classes REVERT: 0014024a Don't rely on transitive includes REVERT: c2850055 FMT_NOEXCEPT -> noexcept REVERT: 6240d020 Improve comments REVERT: 925b744a Improve comments REVERT: 22b14ff2 Simplify cache recovery REVERT: 3dc26b44 Make a fallback path more compiler-friendly REVERT: 2e4038bf Simplify lines with __builtin_addcll and friends REVERT: 76336b4f Replace noexcept with FMT_NOEXCEPT REVERT: 91819834 Fix syntax errors REVERT: 74097a14 Remove now-unused stuffs REVERT: 21a1c533 Fix typo REVERT: 04eea0f0 Remove now-unused stuffs REVERT: 35a468ed Simplify integer checks REVERT: 1882a7a2 Replace Dragonbox cache which allows simpler cache recovery & integer checks REVERT: f4dd1b1b Simplify Dragonbox Step 3. REVERT: 70561ed1 Minimize the usage of built-in 128-bit ints It usually generates slower code than manual handling. REVERT: cdf1a3b5 Fix codecvt warning (#2408) (#2725) REVERT: b8b037e9 Fix -Wconversion warning (#2724) REVERT: 5985f0a7 Fix overflow for chrono durations (#2722) REVERT: 8f8a1a02 Fix handling of formattable types implicitly convertible to pointers REVERT: b02e5af5 fmt::join support FMT_COMPILE (#2720) REVERT: 58fb7823 Improve docs REVERT: 4fe6129d Fix FMT_NOEXCEPT definition REVERT: c056a009 Docs: Fix link to "Compile-time Format String Checks" section (#2712) REVERT: 7c12118c Deprecate buffered_file::fileno REVERT: 2a09d468 Use noexcept unconditionally REVERT: a126b4d8 Check if right shift is arithmetic REVERT: 9ff91b18 Simplify write_fractional_seconds REVERT: d9f045fb Fix a UB in chrono REVERT: c06bef72 Adding comments for range formatting. (#2706) REVERT: 3c98f1a4 Comment style REVERT: 6e0f1399 Supporting nested format specs for ranges. (#2673) REVERT: 0102101a Make colored print handle UTF-8 (#2701) REVERT: 4ac5269b Update ChangeLog.rst git-subtree-dir: lib/fmt git-subtree-split: b6f4ceaed0a0a24ccf575fab6c56dd50ccf6f1a9
Nazar-Hordii
added a commit
to Nazar-Hordii/xmidctrler
that referenced
this issue
May 14, 2024
REVERT: 17dda583 constexpr -> const for portability REVERT: 7ffe87c0 Fix docs REVERT: 3c4273dd Simplify UDL REVERT: 36d95c9f Fix docs REVERT: 44abd1f4 Update signatures in docs and ostream.h REVERT: db745986 Workaround broken std::numeric_limits REVERT: 8271e43e Improve __float128 support and use constexpr REVERT: 3f9b7433 Improve __float128 support REVERT: 71778e8b Specialize float_info for __float128 REVERT: f024565c Improve exponent handling in Dragon REVERT: e7f31f5c Cleanup format_dragon REVERT: 3c61799f Cleanup fuzzing mode REVERT: 4e39e130 Remove xchar.h include from ostream.h REVERT: ac0d9d5f Issue #2816: also strip named-arg for the fallback formatter REVERT: 4ad90578 Fix #2818: diagnose unformattable arguments in unpacked case REVERT: 17ba99c1 Fix #2817: add compile-time checking to ostream overloads of fmt::print REVERT: 3d19be28 Fix #2816: strip named argument wrappers for compile-time checking REVERT: c076a54a Move snprintf_float to format.h REVERT: 0419d238 Add FMT_USE_FLOAT128 REVERT: 69396347 Update color.h (#2815) REVERT: c51604a0 Reduce the number of configs REVERT: 587dc994 Remove windows-2016 env no longer suppported by GA REVERT: 1f3d44b8 Update std::tm/chrono docs REVERT: bc654faf Add is_floating_point that works with __float128 REVERT: 26bffce6 Simplify basic_memory_buffer REVERT: ed18ca3e Implement isnan REVERT: a204b8dd Add initial __float128 support REVERT: b6b003b0 Cleanup test REVERT: f2543b0a Add initial support for 128-bit floats REVERT: 72f48756 Simplify float_info REVERT: f91f61cd Reuse num_significand_bits REVERT: 9a1beab5 Workaround Windows API garbage REVERT: a8fe8bec Fix compilation error for ranges with ADL `begin`/`end` (#2807) REVERT: f6bcb25e Remove extra dot REVERT: b4a4189d Fix handling of implicit bit REVERT: 32d477e5 Add `styled` in documentation (#2805) REVERT: 0b7c045a Simplify _cf REVERT: c10fffec Make _cf visible in the doc build REVERT: dcfbe4a7 Document output_file default behavior correctly (#2803) REVERT: 8c9bc070 Implement styled arguments (#2793) REVERT: 5bc39d36 Eliminate intel compiler warnings (#2802) REVERT: e3d688e7 Fix warning C4251: class fmt::v8::file needs to have dll-interface (#2797) REVERT: 8d4f3e91 Update docs REVERT: 0cef1f81 Fixing formatting of certain kinds of ranges of ranges. (#2787) REVERT: 5c0d6564 Fix apt install REVERT: d416a995 Update README.rst REVERT: 3f67a124 Update README.rst REVERT: cc57e359 Update godbolt link in the readme (#2789) REVERT: 86477f7e Fix size computation REVERT: 0742606f Fix Conversion Warning (#2782) REVERT: 1ba69fb5 Remove snprintf FP fallback REVERT: ea6f0bf0 Minor cleanup REVERT: 1a18a2f3 Fixing "C4127: conditional expression is constant" Visual Studio 2022 warning in pedantic mode (#2783) REVERT: 4fcacea3 Parameterized fp on significand type REVERT: cf940ae8 Simplify to_decimal REVERT: 70dc3de0 Update format.h REVERT: cbc59ca8 Clear moved from memory buffer REVERT: ea3d326c Fix clang -Wliteral-range warning (#2779) REVERT: aad44f28 Add fmt::enums::format_as REVERT: 1319719a Add underlying_t REVERT: af5d8004 Limit Dragonbox to supported FP formats REVERT: 7b964209 Remove unused include REVERT: a0b43bfa Add support for 96-bit long double REVERT: 2c8cd2db Fix handling of zero precision REVERT: b6d56170 Remove unnecessary inline REVERT: 05432e57 Use consistent indentation REVERT: 47da218c Remove uintptr_fallback REVERT: 4ddab890 Merge accumulator into int128_fallback REVERT: d38f72af Refactor fallback ints REVERT: 15c2a3ba int128_t -> int128_opt REVERT: 532a69a6 Fix handling of 96-bit long double with -m32 REVERT: d8e1dd4a improve installing headers REVERT: ae25f796 add ability to build Apple framework using CMAKE_FRAMEWORK REVERT: ce93a66d Implement a fallback uint128_t REVERT: 6a134640 Include 128-bit with other signed integers in specifier check REVERT: 70de324a Apply 2746 fix for NVidia compiler also (#2770) REVERT: a1ea3e01 Move built-in formatter specialization to core REVERT: 161059dd Add support for extended precision FP REVERT: c4c6b42d Bump version REVERT: 21785040 Fix markup REVERT: 2b6f7fc7 Add partial support for extended precision FP REVERT: 0a24a071 Clz builtin may be not constexpr (Issue #2761) (#2762) REVERT: ba6f89c7 Update .bazelversion (#2766) REVERT: 5594edaf Address fmtlib/fmt#2763 (#2765) REVERT: 10e3b83a Replace ``make_args_checked`` with ``make_format_args`` (#2760) REVERT: c48353cb Update docs REVERT: 083510f0 Add FMT_CONSTEXPR to rotr instead REVERT: dba99bc8 Revert adding constexpr to rotr to satisfy C++11 compilers REVERT: c04af4bf Simplify remove_trailing_zeros REVERT: b348caa9 Remove some C-style casts for consistency REVERT: c8bd1e64 Simplify remove_trailing_zeros REVERT: 9b23e9dc Fix wrong comment/refer to a correct reference REVERT: 69f2c550 Remove std:: infront of uint32_t/64_t & add constexpr to rotr REVERT: 9b62310f Fix some conversion issues REVERT: 08d12f31 Fix typo REVERT: dbddb1d0 Remove literal separator to satisfy some compilers REVERT: 7dbe3dcd Recover log10_2_significand REVERT: 10642e60 Optimize remove_trailing_zeros REVERT: 7b4323e1 Add rotr REVERT: f1bd6f77 Check r < deltai first, because that is the major branch chosen for short inputs REVERT: 5d8eb6a1 Reflect the new paper - Change constants appearing in log & division computations - Rename beta_minus_1 to beta REVERT: 8e2e4d40 Suppress a gcc warning REVERT: a44716f5 Workaround to Intel compiler (#2758) REVERT: c71b0701 Add missing const qualifier (#2755) REVERT: ecd6022c Update docs REVERT: afbcf1e8 Remove legacy C locale wrapper REVERT: 90325d09 Fix stored type detection REVERT: e2ba01fc Fix overload ambiguity in print REVERT: 17b362f7 Simplify ostream opt-in API REVERT: a5a7e3a2 Update docs REVERT: f055ebbd Make ostream operators opt in to reduce the risk of ODR violations REVERT: 8a21e328 Remove problematic constructibility check REVERT: 31e743d0 Don't use ostream for types convertible to string_view REVERT: 35c0286c Simplify byte handling REVERT: c7173a36 Drop :: and fix formatting REVERT: 3e8372b9 qualify unqualified calls to format in compile.h (#2742) REVERT: a34a97cc Supporting ? as a string presentation type (#2674) REVERT: ae1aaaee Fix access mode of files created (#2530) (#2733) REVERT: 1557ab76 Add format_as for enums REVERT: b00a1eac Fixes NVIDIA HPC compiler and Intel ICC compatibility (#2732) REVERT: a7aecbfc Remove an old mingw workaround REVERT: dfcc730c Making target_compile_options PRIVATE, fix #2726, fix #2507 REVERT: f7a809be Clarify the choice of magic numbers and compute the most magic one REVERT: 09fde7f4 Add fmt::underlying for enum classes REVERT: 0014024a Don't rely on transitive includes REVERT: c2850055 FMT_NOEXCEPT -> noexcept REVERT: 6240d020 Improve comments REVERT: 925b744a Improve comments REVERT: 22b14ff2 Simplify cache recovery REVERT: 3dc26b44 Make a fallback path more compiler-friendly REVERT: 2e4038bf Simplify lines with __builtin_addcll and friends REVERT: 76336b4f Replace noexcept with FMT_NOEXCEPT REVERT: 91819834 Fix syntax errors REVERT: 74097a14 Remove now-unused stuffs REVERT: 21a1c533 Fix typo REVERT: 04eea0f0 Remove now-unused stuffs REVERT: 35a468ed Simplify integer checks REVERT: 1882a7a2 Replace Dragonbox cache which allows simpler cache recovery & integer checks REVERT: f4dd1b1b Simplify Dragonbox Step 3. REVERT: 70561ed1 Minimize the usage of built-in 128-bit ints It usually generates slower code than manual handling. REVERT: cdf1a3b5 Fix codecvt warning (#2408) (#2725) REVERT: b8b037e9 Fix -Wconversion warning (#2724) REVERT: 5985f0a7 Fix overflow for chrono durations (#2722) REVERT: 8f8a1a02 Fix handling of formattable types implicitly convertible to pointers REVERT: b02e5af5 fmt::join support FMT_COMPILE (#2720) REVERT: 58fb7823 Improve docs REVERT: 4fe6129d Fix FMT_NOEXCEPT definition REVERT: c056a009 Docs: Fix link to "Compile-time Format String Checks" section (#2712) REVERT: 7c12118c Deprecate buffered_file::fileno REVERT: 2a09d468 Use noexcept unconditionally REVERT: a126b4d8 Check if right shift is arithmetic REVERT: 9ff91b18 Simplify write_fractional_seconds REVERT: d9f045fb Fix a UB in chrono REVERT: c06bef72 Adding comments for range formatting. (#2706) REVERT: 3c98f1a4 Comment style REVERT: 6e0f1399 Supporting nested format specs for ranges. (#2673) REVERT: 0102101a Make colored print handle UTF-8 (#2701) REVERT: 4ac5269b Update ChangeLog.rst git-subtree-dir: lib/fmt git-subtree-split: b6f4ceaed0a0a24ccf575fab6c56dd50ccf6f1a9
clrpackages
pushed a commit
to clearlinux-pkgs/fmt
that referenced
this issue
Jul 10, 2024
5chmidti (1): fix ambiguous formatter lookup for flat_set (#3561) Afanasyev Ivan (1): Fix UB in format_arg_store implementation. (#3833) Albert Santoni (1): Fix compile with GCC 6.3.0 (bug #3738) (#3743) Alecto Irene Perez (1): Fix code causing spurious Wstringop-overflow warning Alex (1): Docs: add comment about empty format context range Alex Dewar (2): Fix: isnan() shouldn't cause FP exceptions Add tests to check that isnan doesn't cause FP errors Alex Guteniev (2): Make colored print handle UTF-8 (#2701) `atomic_flag` formatting (#3594) Alexandre Bouvier (1): cmake: fix FMT_PKGCONFIG_DIR path (#3563) Alta (1): Update CMakeLists.txt (#3523) Anders Dalvander (1): C++23 compatibility: basic_string_view cannot be constructed from nullptr (#3846) Andreas Rogge (1): Fix access mode of files created (#2530) (#2733) Andrey Filipenkov (2): add ability to build Apple framework using CMAKE_FRAMEWORK improve installing headers Andy Maloney (1): Fix compilation with FMT_ENFORCE_COMPILE_STRING and FMT_WERROR (#3091) Antony Polukhin (1): Add '🐙 userver framework' to the projects Arnaud Desitter (1): format-inl.h: address implicit int to bool conversion (#3446) Baardi (2): Fix warning C4365 emitted from printf.h (#3865) Fix warning C4702 emitted from format.h (MSVC) (#3866) Barry Revzin (11): Supporting nested format specs for ranges. (#2673) Adding comments for range formatting. (#2706) Supporting ? as a string presentation type (#2674) Fixing formatting of certain kinds of ranges of ranges. (#2787) The n specifier for ranges (#2981) Range formatter (#2983) Fixing formatting of range of range of char. (#3158) Allowing formatting non-copyable ranges. (#3290) %T is %H:%M:%S (#3349) Always assert in FMT_THROW (#3439) Trying to improve errors in the unformattable case (#3478) Beat Bolli (2): doc: fix the chrono %C example value (#3822) Consider ADL begin() and end() when joining ranges (#3824) Ben Deane (1): Fix `formatted_size` with `FMT_COMPILE` and format specs (#3588) Bernhard Manfred Gruber (1): Disable non-type template args for nvhpc (#3053) Bin Lan (1): Add VxWorks7 user space and kernel space support (#3467) Björn Schäpers (4): Fix Conversion Warning (#2782) Suppress -Wfloat-equal Suppress -Wshadow ranges: Fix extra semi (#3374) Boris Dalstein (1): Fix warning C4251: class fmt::v8::file needs to have dll-interface (#2797) Bruce Mitchener (5): Consistently use `fmt::` when invoking `format_to`. (#3779) Mark `iterator_buffer` move constructors as `noexcept`. (#3808) Fix typo in typename. `containter_type` -> `container_type`. (#3844) Fix some typos. (#3843) ci: Remove macos-11 runners, add macos-14 (#3980) Carl Smedstad (1): Wrap Char in array to avoid pointer arithmetic (#3695) Carson Riker (1): add meson instructions to usage docs (#3677) Charlie Barto (1): qualify unqualified calls to format in compile.h (#2742) Chloe (1): Replace usage of C++17 library feature with C++11 (#3638) Chris Thrasher (1): Use `target_compile_features` to specify C++ standard requirement ChristianGebhardt (1): Added generator expression to /utf-8 compile option (#3995) Christoph Reiter (1): Remove leftover usage of the __std_stream header (#3663) Cleroth (1): small typo in syntax.rst Cloyce D. Spradling (1): Enable consteval for Xcode 14.0.1 and later (#3331) Corentin Schreiber (1): Fix overflow in time_point formatting with large dates (#3727) Damian Andrei (1): Make CMake version message less confusing (#3907) Dana Jansens (3): Use typeid() only if it's available Use const_check to silence MSVC warning Avoid a space in the UDL definition (#3610) Daniel Krügler (2): Fix partial specialization problem for filesystem for Visual Studio (#2957) Exclude recursive ranges from the formatter specialization for ranges (#2974) Daniela Engert (7): fix and improve module (#3386) Remove obsolete msvc workarounds (#3388) export names only once (#3392) Optionally attach declarations to the `global module` rather than `module fmt` (#3387) Name `vfprintf` clashes with the identically named declaration in 'stdio.h' if that happens to be #included into the same TU. Fix this by using qualified name lookup instead of unqualified lookup that also enables ADL. (#3400) Improve module testing (#3397) modules missing pieces (#3399) David Chisnall (1): Make the tests pass on a CHERI system. David Korczynski (1): CI linux: add CIFuzz Github action Diego Ramírez (1): Specialize `formatter` for all `std::basic_string` types (#3943) Dimitrij Mijoski (10): Reduce filesize of the tests on MinGW (#2995) Improve Unicode handling when writing to an ostream on Windows (#2994) Fix Unicode handling for ostream under Windows with libc++. (#3001) Improve CI on Windows Use is_utf8() in print(std::ostream&, ...) Reduce conditional compilation Fix testsuite on MinGW + MSVCRT Add MinGW to CI Update CI to Ubuntu 20.04 and to newer versions of actions Fix flushing C++ iostreams before calling write_console() (#3689) Dix Lorenz (1): make format_int constexpr (#4032) Dmitry Alexeev (1): Turn off error-producing NVCC workaround when using c++20 (#3544) Dominic Pöschko (1): added formatter for std::expected (#3834) Dzmitry Ivaniuk (1): Remove unnecessary spaces (#3642) Edoardo Lolletti (2): Don't always enable typeid usage under msvc (#3821) Update checks for dynamic_cast usage when compiled with no rtti (#3963) Eicke Herbertz (1): Update documentation (#3789) Eric Bryant (1): is_convertible_v -> is_convertible::value (#3983) Federico (3): Fixes NVIDIA HPC compiler and Intel ICC compatibility (#2732) Pointless comparison warnings (#2971) Fixes IBM XLC behavior with uint128 fallback (#2985) Federico Razzoli (1): Mention MariaDB amongst the projects that use fmt (#3145) Florimond Collette (2): remove code duplication (#3448) Replace mod_inv_25 by explicit value (#3450) Frank Richter (1): Really fix MSVC warning about <bit> only being available in C++20. (#3832) François Carouge (1): Fix standard default installation target presence (#3264) Froster (1): change sopen_s to wsopen_s (fmtlib#3234) (#3293) Félix-Antoine Constantin (1): Add formatter for std::source_location (#3730) Gao Mingfei (1): Fix chrono locale format bug for RHEL gcc (#3859) George Liontos (1): Fix README file table (#3744) Giel van Schijndel (2): fix: mark fmt::streamed() as constexpr (#3650) fix: make std::bitset formattable again (#3660) Gleb Mazovetskiy (3): `write_floating_seconds`: Fall back to `::round` (#3343) CMake: Do not fail on unknown compiler features (#3453) Add an option to avoid wchar APIs on Windows (#3636) Greg Sjaardema (4): Apply 2746 fix for NVidia compiler also (#2770) Eliminate intel compiler warnings (#2802) Fix compilation error with gcc-7.2.0 Workaround intel bug (#3652) H1X4 (1): fix cmake build Hannes Friederich (1): Suppress unused typedef warning Hans-Martin B. Jensen (5): Format unique_ptr with custom deleter (#3177) Fix MSVC warning in std::chrono::time_point formatter (#3475) Use correct Char type in std::filesystem::path (#3476) Fix conversion warning in filesystem::path formatter (#3806) Fix format_to + FMT_STRING for wide character type (#3931) Haowei Hsu (2): Add additional search paths for doxygen on Windows Prepare for deprecating FindPythonInterp module. (#3040) Ihor Dutchak (2): Avoid using `uint` as a type name (#3137) fmt::ostream - aggregate buffer instead of inheriting it (#3139) Ikko Eltociear Ashimine (1): Fix typo in gmock-gtest-all.cc (#3747) Ivan Shapovalov (1): Implement `%j` specifier for `std::chrono::duration` (#3732) Ivan Shynkarenka (4): Fixing "C4127: conditional expression is constant" Visual Studio 2022 warning in pedantic mode (#2783) VS2022 17.2: C4189: 'zero': local variable is initialized but not referenced #2891 (#2892) Visual Studio 2022: fmt/format.h(1526,27): warning C4127: conditional expression is constant #2908 Visual Studio 2022: fmt/format-inl.h(1145,60): warning C4310: cast truncates constant value #3287 (#3288) Ivan Volnov (1): Fix codecvt warning (#2408) (#2725) Jean-Michaël Celerier (2): Remove dead code in ostream.h format_value Add fmt:: namespace to doc (#3009) Jiwoo Park (1): Fix warning C26439 Jonathan Müller (1): Remove foonathan from maintainer list (#3402) Jonathan W (1): Fix enable_ifs for map formatter (#2944) Joyce (7): chore: set permission to cifuzz.yml (#3328) Hash pin Github Workflows (#3451) Create dependabot.yml (#3452) Create scorecard.yml Update README.rst feat: add security policy to readme (#3655) Update README.rst (#3661) Julian Amann (1): Add support for std.h in Bazel build June Liu (2): Fix error C2668 on msvc (#3378) Fix error C2668 on Windows with option /std:c++latest (#3680) Junekey Jeon (32): Minimize the usage of built-in 128-bit ints Simplify Dragonbox Step 3. Replace Dragonbox cache which allows simpler cache recovery & integer checks Simplify integer checks Remove now-unused stuffs Fix typo Remove now-unused stuffs Fix syntax errors Replace noexcept with FMT_NOEXCEPT Simplify lines with __builtin_addcll and friends Make a fallback path more compiler-friendly Simplify cache recovery Improve comments Improve comments Reflect the new paper Check r < deltai first, because that is the major branch chosen for short inputs Add rotr Optimize remove_trailing_zeros Recover log10_2_significand Remove literal separator to satisfy some compilers Fix typo Fix some conversion issues Remove std:: infront of uint32_t/64_t & add constexpr to rotr Fix wrong comment/refer to a correct reference Simplify remove_trailing_zeros Remove some C-style casts for consistency Simplify remove_trailing_zeros Revert adding constexpr to rotr to satisfy C++11 compilers Add FMT_CONSTEXPR to rotr instead Simplify Dragonbox implementation Remove some branches Remove unused constants. Juraj (2): Update format.h fix -Wsign-conversion warning Justin Riddell (5): Fix FMT_USE_NONTYPE_TEMPLATE_ARGS define back (#3937) Enable fmt::join for uncopyable iterators (#3946) Fix format_as for non-const begin/end views (#3955) Check range_begin is dereferenceable (#3964) Fix regression in #3710 (#3968) Jürgen Hock (1): Use the U literal for unsigned integer constants. (#3549) Kai Aoki (1): Added workaround for old xcode compiler bug (#3716) Kasra Hashemi (2): Update README.rst (#3454) Update README.md (#3784) Kefu Chai (5): allow format_as() to format reference (#3739) Apply clang-format CI: add lint github workflow for running clang-format (#3749) github: update lint.yml to post details on formatting issue (#3988) README.md: update to remove "not yet release" remarks on clang-tidy Kenny Weiss (1): Bugfix for fmt::printf on Power9 architecture with the XL compiler (#3256) Kevin Hwang (1): Update tests to use recommended MOCK_METHOD (#3395) Kieran Clancy (1): Fix format_string_checker initialisation order (#3542) Louis Wilson (1): Fix C4365 (signed/unsigned mismatch) warning on 32-bit Windows (#3398) LoveSy (14): Use native c++ module support from CMake Check if the generator is ninja Fix undefined reference when compiling with FMT_STATIC_THOUSANDS_SEPARATOR and chrono.h Reverting check to make shorter branch comes first Fix build with `FMT_MODULE=OFF` (#3997) Fix `FMT_INSTALL` with `FMT_MODULE` (#3998) Fix missing includes in fmt.cc (#3994) Mention namespace `fmt::literals` in the document (#4002) Also allow compiled format for clang >= 12 (#4001) Export `compiled_string` so that user can customize one (#3999) Don't add `os.cc` to sources with FMT_MODULE (#4004) Check if `.cc` exists in `fmt.cc` (#4005) Only install `FILE_SET` when needed (#4013) Guard more system headers by `FMT_MODULE` (#4006) Luis Caro Campos (1): Add support for CMake 3.28 C++ modules (#3679) Maksymilian Czudziak (1): include/fmt/core.h: copy constructors removal Mark Santaniello (1): Constexpr formatted_size (#3026) Marlene Cota (1): Fix CodeQL alert (#3945) Martin Jeřábek (1): expose detail::throw_format_error (#3551) Mathew Benson (5): Fix for Compilation Error When Using FMT_MODULE (#3597) Fix for FMT_MODULE not compiling on GCC Add condition to include friend function in win32 Refactor To remove friend function private access Refactor Improvement on umul128 function Matt Stafford (1): Add a define to force the use of fallback_file Mattes D (1): Added a FMT_STRING wrapper for system_error() call. Matthias Moulin (12): Resolved warning C4127: conditional expression is constant (#3923) Added FMT_IMPORT_STD feature macro (#3928) Resolved warning C4996: 'fileno': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _fileno. (#3930) Resolved warning C4127: conditional expression is constant (#3967) Added FMT_EXPORT for fmt::range_format and fmt::range_format_kind (#3970) Added formattable concept (#3974) Added std::type_info formatter (#3978) MSVC 17.10.0 + modules cannot find definition (#3972) Added range_format::(debug_)string formatter (#3973) Added missing std::declval for non-default-constructible types (#4024) Module purview can only contain direct preprocessor code (#4029) Defines are still needed for FMT_MODULE as well (#4027) Mattias Ljungström (1): MSVC CMake generation optimization (#2852) Michael Winterberg (1): Fixed typo in changelog example. Mikael Simberg (1): Use void(*)(void*) instead of decltype(&std::free) to satisfy clang in CUDA mode (#3751) Mike Crowe (1): README: Add link to merged clang-tidy check (#3515) Mikhail Paulyshka (1): fix compilation for MSDOS (#3369) Minty-Meeo (2): Use FMT_TRY and FMT_CATCH in std.h (#3482) Give basic_memory_buffer allocator [[no_unique_address]] (#3485) NewbieOrange (1): Simplify is_variant_like_ check, fix compile error before GCC 11 (#3072) Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) (1): Formatting of system clocks ought to be to UTC, not to local time. Nick Kiesel (1): Skip cmake targets inclusion if fmt::fmt already exists (#2907) Nico Rieck (1): Pass correct Char to base format_as formatter (#3457) Ole Bøe (1): fix: support optional<T> with format_as(T) (#3713) Olli Lupton (1): nvhpc/22.3: workaround for c++17 mode. (#3043) Orvid King (1): Fix build with MSVC C++20 modules (#3254) Ozomahtli (1): Remove std::copy usage. (#3550) Patrick Geltinger (1): Fix time_point formatting for durations with certain ratios (#3430) Patrick Roocks (2): Support formatting of std time_point with utc_clock (#3110) Support formatting of subseconds (#3115) Per Lundberg (1): README.rst: fix broken LICENSE link (#3653) Peter Johnson (1): Remove this-> from decltype (#3723) Petr Klima (1): Set PDB path for Visual Studio (#3702) Petr Mánek (1): Revert "add ability to build Apple framework using CMAKE_FRAMEWORK" (#3496) Philippe Proulx (1): Fix: enable `FMT_NORETURN` without exception support too (#3917) Pokechu22 (1): Docs: Fix link to "Compile-time Format String Checks" section (#2712) Radek Brich (1): fix #3105 - Compile-time error when mixing named argument with automatic indexing Riccardo Brugo (3): Implement styled arguments (#2793) Add `styled` in documentation (#2805) Fix compilation error for ranges with ADL `begin`/`end` (#2807) Richard Kellnberger (1): add a suffix for days and fix the one for minutes (#3664) Roman Koshelev (1): add buffer flush before direct write Roman-Koshelev (1): Fix errors setting of FMT_USE_FLOAT128 (#3259) Russell Greene (1): [msvc] fix warning about non-inline variable Rémi Burtin (1): Fix docs Sascha Scandella (1): Use datatype of underlying data (#3647) Sean McBride (3): Fixed all clang -Wreserved-id-macro warnings (on macOS at least) Fixed clang -Wreserved-identifier warings Fixed all clang -Wsigned-enum-bitfield warnings (#2882) Sergiu Deitsch (1): fix gcc <= 7.1 compile errors Shawn Zhong (12): Check chrono spec starts with % Ignore 0 character with align Remove empty semicolon Support fill, align & width for time point (#3260) Fix negative subsec for time_point (#3261) Fix localized format for float-point numbers (#3272) Fix empty spec for time point (#3275) Implement `println` (#3267) Implement glibc ext for sec, min, and hour (#3271) Add formatters for container adapters (#3279) Fix OpenBSD build error (#3295) Cleanup dead variable (#3338) ShifftC (1): Fix mix-up of 'FMT_BEGIN_EXPORT' and 'namespace detail'. (#3924) StepSecurity Bot (1): [StepSecurity] ci: Harden GitHub Actions (#3759) Stepan Ponomaryov (2): Add locale getter in tm_writer (#3147) Add precision modifier for seconds in chrono format (#3148) The Phantom Derpstorm (1): 🛠 Add basic array safety functions and backwards-compatible result type (#3805) TheOmegaCarrot (1): fix case of variant which is valueless by exception (#3347) Tinson Lai (1): Fix options for C++20 experimental module in CMake (#3134) Tobias Hellmann (1): Fix -Wconversion warning (#2724) Tobias Hermann (1): Fix relative path for cmake in usage doc (#3890) Tobias Schlüter (1): Fix type in assert message. (#3508) Tristan Brindle (1): Fix formatting of ranges with begin()&/end()& Tulio Leao (2): Update api.rst with support provided by std.h Sort links on fmt/std.h section VasiliPupkin256 (1): Making target_compile_options PRIVATE, fix #2726, fix #2507 Vertexwahn (10): Update .bazelversion (#2766) Fix spelling (#3404) Bazel support (#3406) Remove .bazelrc mention from Bazel related readme (#3411) Fix spelling: othewise ==> otherwise (#3791) Extend Bazel build support to bzlmod (#3792) Bazel support: Switch to globbing to collect header files Bazel support: Add utf-8 to Windows build (#3962) Bazel support: Add missing platform dependency (#3965) Change actions/github-script from e69ef54 -> 60a0d83 (#4038) Victor Zverovich (982): Update ChangeLog.rst Comment style Fix a UB in chrono Simplify write_fractional_seconds Check if right shift is arithmetic Use noexcept unconditionally Deprecate buffered_file::fileno Fix FMT_NOEXCEPT definition Improve docs Fix handling of formattable types implicitly convertible to pointers FMT_NOEXCEPT -> noexcept Don't rely on transitive includes Add fmt::underlying for enum classes Clarify the choice of magic numbers and compute the most magic one Remove an old mingw workaround Add format_as for enums Drop :: and fix formatting Simplify byte handling Don't use ostream for types convertible to string_view Remove problematic constructibility check Make ostream operators opt in to reduce the risk of ODR violations Update docs Simplify ostream opt-in API Fix overload ambiguity in print Fix stored type detection Remove legacy C locale wrapper Update docs Suppress a gcc warning Update docs Add partial support for extended precision FP Fix markup Bump version Add support for extended precision FP Move built-in formatter specialization to core Include 128-bit with other signed integers in specifier check Implement a fallback uint128_t Fix handling of 96-bit long double with -m32 int128_t -> int128_opt Refactor fallback ints Merge accumulator into int128_fallback Remove uintptr_fallback Use consistent indentation Remove unnecessary inline Fix handling of zero precision Add support for 96-bit long double Remove unused include Limit Dragonbox to supported FP formats Add underlying_t Add fmt::enums::format_as Clear moved from memory buffer Simplify to_decimal Parameterized fp on significand type Minor cleanup Remove snprintf FP fallback Fix size computation Update README.rst Update README.rst Fix apt install Update docs Make _cf visible in the doc build Simplify _cf Fix handling of implicit bit Remove extra dot Workaround Windows API garbage Reuse num_significand_bits Simplify float_info Add initial support for 128-bit floats Cleanup test Add initial __float128 support Implement isnan Simplify basic_memory_buffer Add is_floating_point that works with __float128 Update std::tm/chrono docs Remove windows-2016 env no longer suppported by GA Reduce the number of configs Add FMT_USE_FLOAT128 Move snprintf_float to format.h Remove xchar.h include from ostream.h Cleanup fuzzing mode Cleanup format_dragon Improve exponent handling in Dragon Specialize float_info for __float128 Improve __float128 support Improve __float128 support and use constexpr Workaround broken std::numeric_limits Update signatures in docs and ostream.h Fix docs Simplify UDL Fix docs constexpr -> const for portability Fix formatting of std::byte via format_as Check if formatter is not defined if there is format_as Make arg_mapper SFINAE-friendly again Implement 128-bit operator+= for uint128_fallback Suppress -Wfloat-equal Add 128-bit operations to bigint Replace uint128_wrapper with uint128_fallback Implement 128-bit constant mul in bigint Add __float128 support Add a __float128 test Add an issue template Fix Unicode handling when writing to an ostream Replace conditional compilation with SFINAE Avoid overhead on sensible platforms Fix detection of unformattable pointers Fix handling of locale separators in FP formatting Suppress a warning Fix handling of subnormals in exotic FP Add initial support for double-double Make precision computation consistent with width Implement constexpr isfinite to avoid producing NaN Tweak a comment and apply clang-format Update README.rst Namespace-qualify format_to to avoid conflict with std::format_to Add a path formatter Fix path formatter Add std::thread::id formatter Add initial double-double support Remove locale.h Remove deprecated APIs Remove deprecated APIs Simplify snprintf_float Remove deprecated APIs Remove deprecated APIs Remove deprecated APIs Fix definition of error_handler::on_error Get rid of detail::bits Move basic_fp to format.h for compile-time formatting Move format_float to format.h for __float128 Update README.rst Make to_string work with __float128 Remove extern format_float Remove FMT_HEADER_ONLY_CONSTEXPR20 Remove FMT_NVCOMPILER_VERSION Cleanup macros FMT_MSC_VER -> FMT_MSC_VERSION Cleanup string_view checks Remove FMT_CONSTEXPR_DECL Cleanup macros Remove unused include Cleanup check_format_string bi_iterator -> base Simplify fmt::runtime Move to_string_view to detail Move compile string to detail Cleanup parse_format_string Cleanup Debug ppc failure Debug ppc failure Fix compilation on ppc64 Improve compile-time checks Add format_arg_types Refactor handling of argument types Update changelog Fix ofstream handling in msvc Update changelog Update changelog and fix an apidoc comment Update changelog Update changelog Add fmt::streamed Update changelog and docs Fix UDLs Fix docs Update docs Update docs Update changelog Update changelog Update docs Deprecated implicit conversion of enums to ints for consistency with scoped enums Update changelog Update docs More compile-time checks Prune CI configs Update changelog Update changelog Bump version Bump version Update version Inline std::forward Improve forward using the idea from Jonathan Müller Fix large shift in uint128_fallback Use FMT_USE_FLOAT128 instead of __SIZEOF_FLOAT128__ Make sure the correct fmod overload is called Remove unused include Suppress an msvc warning Fix even in format_dragon Add a regression test for here be dragons Implement compile-time checks for dynamic width/precision type Suppress a bogus warning Fix a typo in example Update README.rst I shouldn't be there Clarify docs for compile-time checks Fix compile-time width/precision type check Belarusify test Fix sign handling with large code units Fix locale name (thanks Mikhail Paulyshka) Fix a warning in gtest Improve error reporting in format string compilation Apply doc fixes retroactively Fix wchar_t corner cases Fix formatting of ranges of code unit types Detemplatize code_point_length_impl Update changelog Update changelog Remove appveyor config Update changelog Update changelog Fix markup Update changelog Fix docs Fix docs, take 2 Bump version Update version hip workaround Improve locale support Remove unnecessary type_identity Make format.h compile faster Inline trivial functions Reduce locale dependency Improve locale support Don't use stringstream Add loc_value num_format_facet -> format_facet Workaround C complex.h idiocy Localize negative integers Implement format_facet Add support for UTF-8 digit separators Implement grouping More locale Improve locale handling Don't parse '}' as fill Update doc Refactor float localization Disable slow windows build and simplify write_loc Improve locale API Optimize writing to buffers via back_insert_iterator Update locale docs Update docs Improve docs Use fmt/core.h in examples Update docs Update docs Simplify format_error Update docs Improve docs Update an example Update a godbolt link Use buffering in to_string to avoid bloat Workaround gcc bug 103879 Make utf-8 detection compatible with gbk Update README.rst Document more chrono specs Document more chrono specs Document more chrono specs Update benchmark results Optimize range formatter Fix a chrono formatting issue found by fuzzing Clarify what mod_inv_5 is Update README.rst Update README.rst Pin godbolt example to specific version Workaround an ADL issue Fix formatting of named arguments with locale Localize FMT_USE_LOCAL_TIME Simplify fill and alignment parsing Remove obsolete parse-benchmark Refactor width parsing Cleanup width handlers Remove redundant tests Cleanup parsing Refactor precision parsing Cleanup format string parsing basic_format_specs -> format_specs Simplify parse context Remove unused template arg from format_string_checker Cleanup arg id parsing Refactor format spec parsing Minor cleanup Minor cleanup Fix docs Fix docs Move anchor to where it belongs Simplify format string parsing Simplify format string parsing Cleanup ranges formatting Use ignore_unused Cleanup core.h Cleanup core.h Clarify that unused args are allowed Reduce template instantiations Fix handling of char Improve handling of signed types Simplify format string parsing Link to dragonbox Remove iterator shenanigans Remove redundant check Cleanup write Refactor format string checks Simplify parse functions Inline all_int_set Minor cleanup Simplify symbols Refactor format string parsing Use parse_align Simplify presentation type parsing Cleanup vprintf Merge parse_presentation_type into parse_format_specs Cleanup tests Enable format_as for non-integral types Enable format_as for classes Disble deprecated implicit enum conversions Disable remaining implicit conversions Simplify arg_mapper Report an error on overflow Simplify apidoc comments Workaround a bug in MSVC <= 19.22 Use FMT_HAS_INCLUDE and apply clang-format Fix container adaptor formatting Minor cleanup Always call parse in range formatter class -> typename Call element parse in tuple parse Improve license and PR template wording Make # handling consistent with std::format Fix recursion check in range formatting Remove unused functions Improve format_as safety Remove a deprecated option Generalize format_as Remove deprecated fallback formatter Cleanup the core API Remove stray comment Update changelog Update changelog Update changelog Remove broken part of the config Update changelog Remove problematic workaround Disable to_string_view ADL Disable problematic implicit conversions Fix diagnostics FMT_EXPORT -> FMT_LIB_EXPORT FMT_MODULE_EXPORT_* -> FMT_EXPORT_* Enable modules in clang 16 Remove unused headers Move the modules check Fix modular build on clang Add module support to CMake Workaround cmake issue Use add_module_library Remove unnecessary module support check Update add_module_library Fix compilation as a C++20 module with gcc 13 Push module check to test Use full path to pcm Update changelog Simplify print Improve handling of Unicode in paths Suppress a false positive in gcc Add filesystem_error test back Fix formatting of paths containing invalid Unicode Update changelog Update changelog Update changelog Update changelog Update changelog Remove an unused function from internal class Update changelog Update changelog Update changelog Update changelog Bump version Update version Update ChangeLog.rst Update ChangeLog.rst unicode_to_utf8 -> to_utf8 since both sides of conversion are Unicode Remove unused macro Fix formatting Improve API safety Fix a comment Improve API safety Remove unused alias Cleanup argument construction Cleanup the core API Reduce template instantiations Remove unnecessary forwarding Cleanup xchar API Don't call init_named_args unnecessarily Improve docs Fix a typo Update docs Update README.rst Remove unneeded specialization Clarify why byte formatter is in core Improve long formatters Remove unneeded FMT_API Revert Char* formatter removal FMT_MODULE_EXPORT -> FMT_EXPORT Remove basic_printf_parse_context Cleanup basic_printf_context Apply coding conventions Deprecate wide printf Detemplatize basic_printf_context Detemplatize printf_arg_formatter Cleanup printf Detemplatize printf more Simplify FMT_FORMAT_AS Remove invalid_arg_index Suppress a bogus gcc warning Use dragon in constexpr Update ChangeLog.rst Update api.rst Simplify ceil Remove get_cached_power Simplify formatters Consolidate formatters Remove unused data Remove udl_formatter Remove FMT_*_DETAIL_NAMESPACE Tweak comments Simplify typeid check Remove detail namespace hack Update README.rst Suppress a bogus warning Update docs Update docs Fix a link Update docs Update docs Optimize code unit output in compiled format Optimize format string compilation Remove old grisu tests Workaround brain-damaged conversions Fix include Call parse on empty specs at compile time Don't use deprecated checked_array_iterator Clarify that data is not null-terminated Suppress a bogus stringop-overflow warning Clarify requirement on compiled formatter Fix fixed formatting of small long doubles Optimize compiled format_to_n Fix overspecified tests Cleanup chrono formatter Improve path formatter Cleanup formatters Cleanup std formatters Improve path formatter Use replacement character in path Update a comment Update changelog Clarify that visit_format_arg is deprecated Update changelog Fix docs Fix a comment Update changelog Update changelog Update changelog Fix fixed precision handling during rounding in long double Update changelog Update changelog Handle new rst nodes Bump version Update changelog Update version Fix a gcc error about partial specialization after instantiation Update changelog Update changelog Coding conventions Update changelog Update version Bump version Update changelog Update version Merge the copyright comment since there are many contributors Revert "Bump actions/checkout from 3.5.3 to 3.6.0 (#3615)" Convert changelog to markdown for compatibility with release notes Update ChangeLog.md Update ChangeLog.md Update ChangeLog.md Drop the rst suffix from the license file Cleanup changelog Merge the copyright comment since there are many contributors Cleanup ranges test Remove rst2md Simplify URLs Workaround a C++11 issue Update dependabot.yml Workaround a gcc 6.4 issue Mark styled_arg as a view to prevent lifetime issues Add an experimental nested formatter Cleanup handling of visibility Minor cleanup Clarify I/O error handling Implement nested formatter Update docs Apply clang-format Optimize fractional_part_rounding_thresholds Remove an ostream hack incompatible with libc++ 17 Diagnose unsupported code unit types Cleanup test Use a more sensible locale in tests Use a more sensible locale in tests Apply clang-format Fix perf regression in ostream::print Update README.rst Update README.rst Update README.rst Fix an inconsistentcy between to_string and format Update bootstrap Make get_path_string more portable Make write_escaped_path more portable Improve OpenBSD workaround Fix formatting Revert CMake changes Fix handling of null strings with the s specifier Fix handling of invalid Unicode in precision Fix the default locale in ostream_formatter Disable locale-specific tests on OpenBSD Make gtest-extra-test more portable Clarify that calling non-const format is deprecated Apply coding conventions Fix a libc++ warning and move the test to the right place Include correct header Remove a useless comment Bump version Cleanup .gitignore Experiment with FILE in scan Minor cleanup Clarify that mixing code unit types is deprecated Apply coding conventions Simplify test Experiment with scan buffering Convert README to Markdown Update README.md Update README.md Report out-of-range errors in chrono Make clang-format happy Update README.md Apply clang-format Cleanup test Cleanup test Apply clang-tidy Fix URI Update scan test Refactor file layer Add glibc support to scan Update changelog Update changelog Simplify test Fix handling of set_debug_format Fix formatting of some nested ranges Enable test Update changelog Remove unused symbol Move conjunction to where it is used Fix a warning Move formatbuf to ostream.h Update changelog Improve scan Update changelog Handle end of input in scan Implement locking Simplify fallback clang-format Refactor file layer in scan Mark grow as deprecated Apply coding conventions Cleanup scan Remove peek Update README.md Document '?' Update changelog Remove redundant specifier Update changelog Fix chrono-test on platforms with 32-bit time_t Cleanup test Initial range support in scan Improve iterator handling in scan Add initial specifier support to scan Ceci n'est pas une pipe Fix scan test Improve scan test Update changelog Update changelog Remove unnecessary alias Update changelog and docs Update changelog Fix comment Fix grammar Update changelog Cleanup chrono test Update the release script Fix docs Remove unused import Add a visitor for scan arguments Workaround github markdown mess Improve scripts Update release script Cleanup scripts Apply coding conventions Cleanup error handling Implement scan argument access Implement visitor for scan Remove custom_formatter Privatization Complete scan_handler Update changelog Add sentinel support Implement empty format specs Remove optional Implement hex specifier Update changelog Add overflow check Bump version Fix changelog update Update version Fix the release script Remove duplicate version Don't include fmt/os.h in the module if it is disabled via FMT_OS Improve the pipe API Remove detail::error_handler Move misplaced join overloads to fmt/ranges.h Make visitation compatible with std::format Don't include os.cc in the module if it is disabled via FMT_OS Dedup throw_format_error Apply coding conventions Fix constness Simplify to_ascii Replace virtual dispatch with normal functions in buffers Switch to bootstrap 4 because 5 breaks menus Fix docs Update docs Replace remove_cvref_t with remove_const_t Add FMT_GLIBCXX_RELEASE Get rid of addressof Clarify why we can't have nice things Decouple appender from back_insert_iterator Remove dependency on back_insert_iterator Remove dependency on <iterator> Move copy_str for format.h Reduce char_traits usage Remove char_traits dependency Remove dependency on string_view Remove limits dependency Cleanup dependencies Bump version Remove redundant overload Remove dead code Remove a redundant function Add compile-time checks to color formatting Simplify char_t Cleanup string traits Remove string dependency Update readme Update README.md Disable transitive includes Cleanup ranges Remove unnecessary final and apply clang-format Don't crash if flush fails during unwinding Minor cleanup Add is_back_insert_iterator Reintroduce back_insert_iterator detection Merge back_insert_iterator and appender Remove redundant get_container Remove buffer_appender Split standard context into a separate class and optimize Update README.md Remove extra level of indirection when building args Simplify basic_format_args Remove legacy workaround Improve arg storage Move format_arg_store to detail Simplify format_arg_store Optimize debug codegen Simplify make_format_args Add base.h Add core.h for compatibility Separate compilation for println Move fmt::format to fmt/format.h Update core.h Update build.py Fix write_uintptr_fallback Cleanup contexts Minor cleanup Remove unnecessary trait specialization Remove iterator dependency Reduce memory dependency Cleanup macros Simplify exception detection Simplify constexpr checks Cleanup constexpr detection Reduce usage of FMT_COSTEXPR20 Cleanup conseval detection Cleanup macros Fix an ICE on clang <= 15 Add a missing num_bits specialization Remove redundant detection of experimental string_view Remove <memory> dependency Update build.py Update api.rst Update api.rst Update api.rst Remove unused functions Cleanup copy functions and move to base.h Make ranges only depend on fmt/base.h Remove deprecated options Invert dependencies Remove nonstandard alias Fix docs Fix docs Fix constness core-test -> base-test Improve scan prototype scan -> scan_to Improve scan prototype Improve scan Update README.md Remove unnecessary checks Improve handling of format specs Replace multiple error reporting mechanisms with report_error Restrict always inlining to the top-level API Update README.md Make fill independent on code unit type Fix naming Pass char type to write Make format_specs not depend on code unit type Reduce usage of float_specs Write directly to a stream buffer Document println Improve name argument validation Fix flush scan more Add scan_data::make_args Add support for line buffering Don't hang on test failure Add glibc stream support Minor cleanup Separate buffer initialization from flush Improve buffering Fix a warning Deprecate wide stream function Simplify color formatting Fix fixed rounding around zero in Dragon Make scan variadic Fix handling of static separator Readd core.h to headers More API details Don't error on min time_point Workaround an ld warning on macOS Protect against locking formatters Simplify range formatter Simplify range formatter Fix a warning Simplify path formatting Use p2197 format for complex by default Bump timeout Fix handling of the fileno macro Make line buffering test less flaky Cleanup Initial support for extended FP types Add a formatter for float128 Update syntax.rst Coding conventions and minor fixes Cleanup FMT_ASSERT Document formatter specializations provided by base.h const void* is neither a fundamental nor string type Update signature in the doc Dedup ADL begin/end lookup Fix to_nonnegative_int Update lint.yml Update lint.yml Update doc.yml Update doc.yml Update doc.yml Update README.md Update README.md Update README.md Remove range_default_formatter Privatize write_debug_string Split range and map formatters Make the map formatter correctly handle elements with custom formatters Simplify map formatter Apply coding conventions Simplify join_view formatter Optimize join_view Enable Unicode by default Enable Unicode support by default Improve utf-8 detection Cleanup unicode checks Cleanup unicode check more Cleanup locking/buffering Remove unused function Minor cleanup Update documentation deps Fix CSS path Update html Fix navbar style Remove redundant github button Fix class conflict Update description Cleanup html Replace less with sass Improve styles Fix styles Fix styles Improve styles Fix workflow Fix workflow, take 2 Add a mkdocsstrings handler Convert syntax to Markdown Convert index to Markdown Minor comment fix Improve mkdocstrings handler Fix links Add CSS Improve syntax markdown Improve syntax markdown Improve syntax markdown Fix markdown Remove CSS Fix markdown Fix markdown Convert usage to Markdown Cleanup apidoc comments Add a word joiner to prevent line break Remove old contents Fix markdown Update doc.yml Cleanup syntax doc Fix markdown Fix markdown Fix markdown Cleanup syntax doc Move handlers outside of the docs Add mkdocs config Cleanup comments Convert API doc to Markdown Improve apidoc generation Improve doc presentation Fix rendering on github Switch to JavaScript syntax highlighter Render template params Render template parameters Switch to markdown Improve apidoc formatting Improve apidoc formatting Improve apidoc formatting Render members Improve apidoc rendering Fix rendering of aliases Documentation improvements Improve docs Add support for multiple namespaces Add macro support to api doc extraction Migrate to mkdocs Migrate to mkdocs Fix install dir Add a script to invoke mkdocs Fix a link Sort out directory URI config Remove a non-pinned dependency Emit anchors Migrate to mkdocs Migrate docs and cleanup Migrate docs Update .gitignore Simplify doxygen config Fix syntax highlighting New landing page Update docs Update docs Remove rtd compat Set primary color Improve docs Cleanup docs Update changelog Improve docs Update docs Fix rendering of template parameters Update docs Usage -> Get Started Remove redundant tests Update changelog Update lint.yml Update changelog Split changelog Update changelog Update changelog Update changelog Update cmake config Remove a redundant extension to reduce divergence from std::format Update changelog Update changelog Don't hide the navbar Ignore old changelog Update docs Improve docs Improve docs Drop parentheses Add a CMake option to control Unicode support Improve docs Fix a link Build docs Fix doc build Temporarily disable doc build in CI Implement doc building Remove old script Implement deployment Update docs Fix doc build Don't pollute the source directory Deploy dev docs Fix doc CI and clean workflows Install mike Fix error getting config 'user.name' Fix error getting config 'user.email' Deploy docs Deploy docs, take 2 Deploy docs, take 3 Remove unnecessary build step Merge literal-based API doc into the parent section Disable footer Update changelog Update api.md Fix doc workflow Update doc.yml Update doc.yml Update doc.yml Update doc.yml Update changelog Remove a redundant comment Remove dependency on <ranges> Update changelog Cleanup cmake Update changelog Set the anchors Improve docs Generate doxyxml in build Don't pass seconds as a double in examples Don't deploy docs from a PR Remove build-docs.py Cleanup includes Correct comments Cleanup includes Fix a typo Add an experimental path Prevent silent data loss Update test names Optimize range formatter Update changelog Simplify deps Pin deps Update changelog Update build script Update build script Update build script Update doc dir Update site dir Update doc script Create build dir Fix doc build Update build script Bump version Fix build script Fix formatting Fix release script Fix handling of tables Fix handling of tables, take 2 Fix handling of tables, take 3 Fix formatting of release notes Fix typo Update changelog Update build script Update vagrant config Fix package build Ignore vagrant files Ignore doxygen files Fix grammar Tweak wording in the changelog Minor cleanup Update version VinaCC (1): Fix intellisense on Windows (#3082) Vinay Yadav (1): Remove type cast as mxe(mingw32) compiler complains about useless-cast (#3624) Vladislav Shchapov (110): fmt::join support FMT_COMPILE (#2720) Add missing const qualifier (#2755) Workaround to Intel compiler (#2758) Replace ``make_args_checked`` with ``make_format_args`` (#2760) Clz builtin may be not constexpr (Issue #2761) (#2762) Fix clang -Wliteral-range warning (#2779) Fix incompatible between Jinja2 >= 3.1 and sphinx 3.3.0 Suppress a -Wliteral-range warning on Apple M1 (#2861) Add xchar support for write_escaped_string. Improve std::filesystem::path formatter. Improve xchar support for std formatters. Use write_escaped_string to std::filesystem::path. Add utf-8 test for std::filesystem::path formatter. Make std::filesystem::path formatter utf-8 compatible. Fix 'duplicate symbol' error. Remove /source-charset:utf-8 compile option. Fix std::variant, std::filesystem::path tests on GCC-8, Clang-7,8. New CI: GCC-8 C++17, Clang-8 C++17. New CI: Microsoft Visual Studio 2022. Replace __cplusplus with FMT_CPLUSPLUS. Workaround for Microsoft Visual Studio 2022 Internal compiler error. Add xchar support for fmt::streamed(). Fix for EDG frontend (Intel, NVHPC compilers) (#2982) Workaround a bug in MSVC Remove unused condition Remove duplicate method Replace ParseContext with basic_format_parse_context Reuse detail::string_literal in the chrono formatter Add comment Remove double code execution Remove -Wl,--as-needed linker option Fix decoder on broken utf8 sequences. (#3044) Disable bogus -Wstringop-overflow on GCC 11 (#3054) Fix bugs in utf8 decoder (#3056) Disable "GCC optimize" pragma for LCC Disable non-type template args for LCC Disable compile-time checks for dynamic width/precision test for LCC and compiler without std::is_constant_evaluated() Requires FMT_CONSTEXPR20 support Add starts_with to basic_string_view. (#3080) Add class name output to formatter for std::exception (#3076) New CI: GCC-9 Fix build error on GCC-9 Set CMAKE_RUNTIME_OUTPUT_DIRECTORY relative to CMAKE_CURRENT_BINARY_DIR instead of CMAKE_BINARY_DIR (#3120) Normalization of stdlib inline namespace names (#3119) Move formatter<std::error_code> from fmt/os.h to fmt/std.h (#3125) Fix broken condition (#3129) Remove duplicate template parameter. (#3142) Fix overflow error (#3143) Remove duplicate implementation (#3144) Fix warning: conditional expression is constant. (#3150) Replace format with FMT_STRING. (#3162) Add missing env CTEST_OUTPUT_ON_FAILURE Enable C++17 tests on macOS Fix warning: a class type that is not trivially copyable passed through ellipsis (EDG frontend) Fix warning: the implicit by-copy capture of "this" is deprecated (EDG frontend) Add missing operators Replace snprintf-based hex float formatter with internal implementation Rename leading_v -> leading_xdigit Skip only strptime dependent test in scan-test Remove workaround for GTest bug Bump tested CMake version to 3.25 Add countl_zero function Implement %Ez, %Oz for chrono formatter Extract timezone offset from timezone conversion functions Fix for issue #3228 Fix for issue #3241 Set timezone for chrono tests Improve timezone tests Simplify C99 strftime detection conditions Workaround for incompatibility between libstdc++ consteval-based std::is_constant_evaluated() implementation and clang-14 (#3281) Add ubuntu mirrors (#3302) Fix for issue #3325 (#3326) Path is not escaped twice in the debug mode (#3321) Force use a signed char (On ARM char is unsigned by default) (#3362) Workaround a double-double hexfloat format (#3366) Workaround to error: variable 'n' set but not used [-Werror,-Wunused-but-set-variable] Unification utf16/utf32 to utf8 conversion Make hex float test more stable (#3434) New CI: macOS 13, Xcode 14.3, C++ 20 Make constexpr ceil Remove is_constant_evaluated() check Fix for issue #3492 (#3493) Added formatter for bit_reference-like types (#3570) to_string supports types with format_as Fix symbol leak (#3627) Fix error: 'char_traits<custom_char>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Werror,-Wdeprecated-declarations] (#3634) Fix warning: identifier '_a' preceded by whitespace in a literal operator declaration is deprecated (#3748) Add stdlib version check for C++20 (#3754) Enable consteval in MSVC VS2019 version 16.10 (#3757) Make hex float test more stable on different libc (#3762) Fix wchar_t to char conversion warnings (#3764) Fix FMT_OS definition (#3783) Fix buffer overflow if output iterator is std::back_insert_iterator and value is escaped (debug format) Add fmt::is_contiguous<std::basic_string<Char, Traits, Allocator>> Fix MSVC warning: "The contents of <bit> are available only with C++20 or later." (#3807) Use std::allocator_traits (#3804) Workaround for gcc 6 (#3810) Fix scope for glibc ext for sec, min, and hour (#3812) Fix invalid fmt::formatter<>::format return type (#3895) Add XChar support into nested_formatter Add std::complex formatter Apply clang-format Fix ambiguous call Fix group_digits for negative integers (#3901) Improve std::complex formatter to be compatible with P2197R0 (#3900) Replace std::fill_n with fmt::detail::fill_n (#3909) Reintroduce GCC-11 C++20 into CI (#3979) Fix deploy docs (#4010) Update msys2/setup-msys2 to v2.23.0 (#4012) Suppress a bogus warning in MSVC (#4023) YuHuanTin (1): Improve compatibility with GBK #3598 (#3599) YuTArrUsO (1): Update godbolt link in the readme (#2789) Zach Toogood (1): Add formatter for std::exception (#3062) ZaheenJ (1): Add glibc ext for day of month and week of year (#3976) Zhanwei Wang (1): Add formatter for std::atomic (#3574) agga (1): use qualified call to avoid ADL conflict with std::format_to cre (1): Update color.h (#2815) cyy (1): fix redundant redeclaration of ‘constexpr’ static data member (#3630) dependabot[bot] (21): Bump actions/checkout from 3.5.2 to 3.5.3 (#3486) Bump github/codeql-action from 2.2.4 to 2.21.4 (#3591) Bump ossf/scorecard-action from 2.1.2 to 2.2.0 (#3592) Bump actions/upload-artifact from 3.1.0 to 3.1.2 (#3593) Bump actions/checkout from 3.1.0 to 3.5.3 (#3602) Bump actions/checkout from 3.5.3 to 3.6.0 (#3615) Bump github/codeql-action from 2.21.4 to 2.21.5 (#3622) Bump actions/checkout from 3.5.3 to 4.0.0 (#3623) Bump actions/checkout from 4.0.0 to 4.1.0 (#3666) Bump github/codeql-action from 2.21.5 to 2.22.5 (#3696) Bump ossf/scorecard-action from 2.2.0 to 2.3.1 (#3697) Bump actions/upload-artifact from 3.1.2 to 4.0.0 (#3782) Bump github/codeql-action from 2.22.5 to 3.23.2 (#3836) Bump actions/upload-artifact from 4.0.0 to 4.3.0 (#3837) Bump actions/upload-artifact from 4.3.0 to 4.3.1 (#3875) Bump github/codeql-action from 3.23.2 to 3.24.6 (#3876) Bump github/codeql-action from 3.24.6 to 3.24.9 (#3915) Bump github/codeql-action from 3.24.9 to 3.25.3 (#3949) Bump actions/upload-artifact from 4.3.1 to 4.3.3 (#3950) Bump ossf/scorecard-action from 2.3.1 to 2.3.3 (#3984) Bump actions/checkout from 4.1.0 to 4.1.6 (#3986) frank-weinberg (1): Fix custom formatter example (#3820) frithrah (1): Fix Windows max mix-up (#2903) gerboengels (1): Add locale overload for formatted_size (#3084) (#3087) hotwatermorning (3): feat: include xlocale.h only if exists feat: enable building with gcc 4.8 fix: use FMT_HAS_INCLUDE instead of __has_include huangqinjin (1): Add basic_format_string::get() jehelset (2): Fix is_formattable for tuple-like types. (#2940) Add support for 'std::variant' in C++17 (#2941) jk-jeon (3): Address https://github.com/fmtlib/fmt/issues/2763 (#2765) Implement a new formatting algorithm for small given precision (#3269) Refactor countl_zero fallback (#3276) js324 (6): Add native and generic representation for filesystem::path format spec (#3729) error on bool arg w/ char pres_type (#3734) Add localized formatting to non-decimal presentation types of ints (#3750) Fix %S formatting for chrono durations with leading zeroes (#3814) Support character range formatting (#3863) Range formatting documentation (#3905) lukester1975 (1): Fix `FMT_NO_UNIQUE_ADDRESS` warning with clang-cl. (#3600) luzpaz (1): Fix various typos (#3312) matrackif (1): Fix overflow for chrono durations (#2722) mogemimi (1): Add FMT_STRING for format_to() call (#3413) mtillmann0 (1): Guard against usage of _isatty when header was not included (#3880) nathannaveen (1): chore: Set permissions for GitHub actions prlw1 (1): std.h c++23 build fix (#3856) razaqq (1): add missing inline specifier (#3552) reinhardt1053 (1): Update README.rst (#3737) rlalik (1): Fix example for user-defined types in documentation for 10.0.0 (#3461) rtobar (1): Document output_file default behavior correctly (#2803) thesmurph (1): Skip the scan-test if strptime isn't defined (#3184) timsong-cpp (5): Fix #2816: strip named argument wrappers for compile-time checking Fix #2817: add compile-time checking to ostream overloads of fmt::print Fix #2818: diagnose unformattable arguments in unpacked case Issue #2816: also strip named-arg for the fallback formatter fix formatter<char*> (#3432) tmartin-gh (1): Fix CUDA nvcc warning fmt/include/fmt/core.h(295): warning #1675-D: unrecognized GCC pragma (#3352) tom-huntington (1): Add optional support (#3303) vgorrX (1): Update os-test.cc (#3883) zivshek (2): Implemented fmt::day, fmt::month, fmt::year and related unit tests (#3906) implement year_month_day (#3913)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiling the current version with Microsoft Visual Studio Community 2019 Version 16.11.10 I get this warning:
The text was updated successfully, but these errors were encountered: