From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 77F193858D28; Mon, 1 May 2023 19:41:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 77F193858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682970109; bh=X9mf6FtgzSvCfFEPWSTz4aCs3LMFWT/fplueAV/XNHM=; h=From:To:Subject:Date:From; b=uADu1OLymIfHWBlsw6wDS0rvFilHyEfdEoFUqc3/lKqEOztLlRc7NbIAmSGfII4bV FHRIFIZIWJKGZXsJtbewacur0/LqXubmm9sYMDG4pWt3FbuzrWa2awX0fAjVkP5v1O ZgcfirZSS+NnSUZ1t4RIiPgMtq9NSBBJvAhuBbZk= From: "lukaszcz18 at wp dot pl" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109688] New: Build fail with C++20 and -DSPDLOG_USE_STD_FORMAT=1 Date: Mon, 01 May 2023 19:41:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lukaszcz18 at wp dot pl X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109688 Bug ID: 109688 Summary: Build fail with C++20 and -DSPDLOG_USE_STD_FORMAT=3D1 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: lukaszcz18 at wp dot pl Target Milestone: --- ``` Using built-in specs. COLLECT_GCC=3Dg++.exe Target: x86_64-w64-mingw32 Configured with: /home/ma/m/source/gcc-g/configure --host=3Dx86_64-w64-ming= w32 --target=3Dx86_64-w64-mingw32 --disable-nls --enable-languages=3Dc,c++,objc= ,obj-c++ --with-gmp=3D/home/ma/m/build/for_target --with-mpfr=3D/home/ma/m/build/for= _target --with-mpc=3D/home/ma/m/build/for_target --with-isl=3D/home/ma/m/build/for_= target --enable-twoprocess --disable-libstdcxx-pch --disable-win32-registry --disable-shared --enable-fully-dynamic-string --enable-libssp --prefix=3D/home/ma/m/target --with-sysroot=3D/home/ma/m/target Thread model: win32 Supported LTO compression algorithms: zlib gcc version 13.0.1 20230421 (prerelease) (GCC) COLLECT_GCC_OPTIONS=3D'-v' '-std=3Dgnu++20' '-march=3Dx86-64-v2' '-ftree-ve= ctorize' '-g0' '-O3' '-fPIC' '-mavx' '-mxsave' '-mpclmul' '-maes' '-D' 'SPDLOG_USE_STD_FORMAT=3D1' '-c' '-o' 'example.o' C:/gcc1301/bin/../libexec/gcc/x86_64-w64-mingw32/13.0.1/cc1plus.exe -quiet= -v -iprefix C:/gcc1301/bin/../lib/gcc/x86_64-w64-mingw32/13.0.1/ -U_REENTRANT = -D SPDLOG_USE_STD_FORMAT=3D1 example.cpp -quiet -dumpbase example.cpp -dumpbas= e-ext .cpp -march=3Dx86-64-v2 -mavx -mxsave -mpclmul -maes -g0 -O3 -std=3Dgnu++20 -version -ftree-vectorize -fPIC -o C:\Users\KOMPUT~1\AppData\Local\Temp\ccxiMnxa.s GNU C++20 (GCC) version 13.0.1 20230421 (prerelease) (x86_64-w64-mingw32) compiled by GNU C version 13.0.1 20230421 (prerelease), GMP version 6.2.1, MPFR version 4.2.0-p4, MPC version 1.3.1, isl version isl-0.24-GMP GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 ignoring duplicate directory "C:/gcc1301/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.0.1/../../../../inc= lude/c++/13.0.1" ignoring duplicate directory "C:/gcc1301/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.0.1/../../../../inc= lude/c++/13.0.1/x86_64-w64-mingw32" ignoring duplicate directory "C:/gcc1301/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.0.1/../../../../inc= lude/c++/13.0.1/backward" ignoring duplicate directory "C:/gcc1301/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.0.1/include" ignoring nonexistent directory "/home/ma/m/target/home/ma/m/target/lib/gcc/x86_64-w64-mingw32/13.0.1/../..= /../../include" ignoring duplicate directory "C:/gcc1301/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.0.1/include-fixed" ignoring duplicate directory "C:/gcc1301/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.0.1/../../../../x86= _64-w64-mingw32/include" ignoring nonexistent directory "/home/ma/m/target/mingw/include" #include "..." search starts here: #include <...> search starts here: C:/gcc1301/bin/../lib/gcc/x86_64-w64-mingw32/13.0.1/../../../../include/c++= /13.0.1 C:/gcc1301/bin/../lib/gcc/x86_64-w64-mingw32/13.0.1/../../../../include/c++= /13.0.1/x86_64-w64-mingw32 C:/gcc1301/bin/../lib/gcc/x86_64-w64-mingw32/13.0.1/../../../../include/c++= /13.0.1/backward C:/gcc1301/bin/../lib/gcc/x86_64-w64-mingw32/13.0.1/include C:/gcc1301/bin/../lib/gcc/x86_64-w64-mingw32/13.0.1/include-fixed C:/gcc1301/bin/../lib/gcc/x86_64-w64-mingw32/13.0.1/../../../../x86_64-w64-= mingw32/include End of search list. Compiler executable checksum: c5bc1656e1b332d798c0577f7a3d2ab8 In file included from C:/gcc1301/include/c++/13.0.1/bits/chrono_io.h:39, from C:/gcc1301/include/c++/13.0.1/chrono:3330, from example.cpp:8: C:/gcc1301/include/c++/13.0.1/format: In instantiation of 'static std::__format::_Arg_store<_Context, _Args>::_Element_t std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp =3D spdlog::details::dump_info<__gnu_cxx::__normal_iterator > >; _Context =3D std::basic_format_context, char>; _Args =3D {std::basic_format_arg, char> >::handle}; _Element_t =3D std::__format::_Arg_store, char>, std::basic_format_arg, char> >::handle>::_Element_t]': C:/gcc1301/include/c++/13.0.1/format:3252:23: required from 'std::__format::_Arg_store<_Context, _Args>::_Arg_store(_Tp& ...) [with _Tp= =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; _Context =3D std::basic_format_context, char>; _Args =3D {std::basic_format_arg, char> >::handle}]' C:/gcc1301/include/c++/13.0.1/format:3301:14: required from 'auto std::make_format_args(_Args&& ...) [with _Context =3D basic_format_context<__format::_Sink_iter, char>; _Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:372:88: required fr= om 'void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; spdlog::string_view_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:90:13: required from 'void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, spdlog::format_string_t, Args&& ...) [with Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:96:12: required from 'void spdlog::logger::log(spdlog::level::level_enum, spdlog::format_string_t, Args&& ...) [with Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:158:12: required fr= om 'void spdlog::logger::info(spdlog::format_string_t, Args&& ...) [= with Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/spdlog.h:170:31: required fr= om 'void spdlog::info(format_string_t, Args&& ...) [with Args =3D {details::dump_info<__gnu_cxx::__normal_iterator > > >}; format_string_t =3D std::basic_string_view]' example.cpp:194:17: required from here C:/gcc1301/include/c++/13.0.1/format:3241:38: error: no matching function f= or call to 'std::basic_format_arg, char> >::basic_format_arg(spdlog::details::dump_info<__gnu_cxx::__normal_iterator= > >&)' 3241 | basic_format_arg<_Context> __arg(__v); | ^~~~~ C:/gcc1301/include/c++/13.0.1/format:2996:9: note: candidate: 'template requires __formattable_with<_Tp, _Context, typename _Context::formatter_type::type>, std::basic_format_parse_context > std::basic_format_arg<_Context>::basic_format_arg(_Tp&) [with _Context =3D std::basic_format_context, char>]' 2996 | basic_format_arg(_Tp& __v) noexcept | ^~~~~~~~~~~~~~~~ C:/gcc1301/include/c++/13.0.1/format:2996:9: note: template argument deduction/substitution failed: C:/gcc1301/include/c++/13.0.1/format:2996:9: note: constraints not satisfied In file included from C:/gcc1301/include/c++/13.0.1/bits/chrono.h:43, from C:/gcc1301/include/c++/13.0.1/chrono:41: C:/gcc1301/include/c++/13.0.1/concepts: In substitution of 'template requires __formattable_with<_Tp, _Context, typename _Context::formatter_type::type>, std::basic_format_parse_context > std::basic_format_arg, char> >::basic_format_arg(_Tp&) [with _Tp =3D std::basic_format_context, char>]': C:/gcc1301/include/c++/13.0.1/format:3241:31: required from 'static std::__format::_Arg_store<_Context, _Args>::_Element_t std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp =3D spdlog::details::dump_info<__gnu_cxx::__normal_iterator > >; _Context =3D std::basic_format_context, char>; _Args =3D {std::basic_format_arg, char> >::handle}; _Element_t =3D std::__format::_Arg_store, char>, std::basic_format_arg, char> >::handle>::_Element_t]' C:/gcc1301/include/c++/13.0.1/format:3252:23: required from 'std::__format::_Arg_store<_Context, _Args>::_Arg_store(_Tp& ...) [with _Tp= =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; _Context =3D std::basic_format_context, char>; _Args =3D {std::basic_format_arg, char> >::handle}]' C:/gcc1301/include/c++/13.0.1/format:3301:14: required from 'auto std::make_format_args(_Args&& ...) [with _Context =3D basic_format_context<__format::_Sink_iter, char>; _Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:372:88: required fr= om 'void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; spdlog::string_view_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:90:13: required from 'void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, spdlog::format_string_t, Args&& ...) [with Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:96:12: required from 'void spdlog::logger::log(spdlog::level::level_enum, spdlog::format_string_t, Args&& ...) [with Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:158:12: required fr= om 'void spdlog::logger::info(spdlog::format_string_t, Args&& ...) [= with Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/spdlog.h:170:31: required fr= om 'void spdlog::info(format_string_t, Args&& ...) [with Args =3D {details::dump_info<__gnu_cxx::__normal_iterator > > >}; format_string_t =3D std::basic_string_view]' example.cpp:194:17: required from here C:/gcc1301/include/c++/13.0.1/concepts:139:13: required for the satisfact= ion of 'assignable_from<_Tp&, _Tp>' [with _Tp =3D std::formatter > > >, char>] C:/gcc1301/include/c++/13.0.1/concepts:263:13: required for the satisfact= ion of 'movable<_Tp>' [with _Tp =3D std::formatter > > >, char>] C:/gcc1301/include/c++/13.0.1/concepts:267:13: required for the satisfact= ion of 'copyable<_Tp>' [with _Tp =3D std::formatter > > >, char>] C:/gcc1301/include/c++/13.0.1/concepts:272:13: required for the satisfact= ion of 'semiregular<_Formatter>' [with _Formatter =3D std::formatter > > >, char>] C:/gcc1301/include/c++/13.0.1/format:2197:13: required for the satisfacti= on of '__formattable_with<_Tp, _Context, typename _Context::formatter_type::type>, std::basic_format_parse_context >' [with _Tp = =3D spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >; _Context =3D std::basic_format_context, char>] C:/gcc1301/include/c++/13.0.1/concepts:142:10: in requirements with '_Lhs __lhs', '_Rhs&& __rhs' [with _Lhs =3D std::formatter > > >, char>&; _Rhs =3D std::formatter > > >, char>] C:/gcc1301/include/c++/13.0.1/concepts:143:17: note: the required expression '__lhs =3D static_cast<_Rhs&&>(__rhs)' is invalid 143 | { __lhs =3D static_cast<_Rhs&&>(__rhs) } -> same_as<_Lhs>; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:/gcc1301/include/c++/13.0.1/format: In instantiation of 'static std::__format::_Arg_store<_Context, _Args>::_Element_t std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp =3D spdlog::details::dump_info<__gnu_cxx::__normal_iterator > >; _Context =3D std::basic_format_context, char>; _Args =3D {std::basic_format_arg, char> >::handle}; _Element_t =3D std::__format::_Arg_store, char>, std::basic_format_arg, char> >::handle>::_Element_t]': C:/gcc1301/include/c++/13.0.1/format:3252:23: required from 'std::__format::_Arg_store<_Context, _Args>::_Arg_store(_Tp& ...) [with _Tp= =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; _Context =3D std::basic_format_context, char>; _Args =3D {std::basic_format_arg, char> >::handle}]' C:/gcc1301/include/c++/13.0.1/format:3301:14: required from 'auto std::make_format_args(_Args&& ...) [with _Context =3D basic_format_context<__format::_Sink_iter, char>; _Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:372:88: required fr= om 'void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; spdlog::string_view_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:90:13: required from 'void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, spdlog::format_string_t, Args&& ...) [with Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:96:12: required from 'void spdlog::logger::log(spdlog::level::level_enum, spdlog::format_string_t, Args&& ...) [with Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:158:12: required fr= om 'void spdlog::logger::info(spdlog::format_string_t, Args&& ...) [= with Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/spdlog.h:170:31: required fr= om 'void spdlog::info(format_string_t, Args&& ...) [with Args =3D {details::dump_info<__gnu_cxx::__normal_iterator > > >}; format_string_t =3D std::basic_string_view]' example.cpp:194:17: required from here cc1plus.exe: note: set '-fconcepts-diagnostics-depth=3D' to at least 2 for = more detail C:/gcc1301/include/c++/13.0.1/format:2808:7: note: candidate: 'std::basic_format_arg<_Context>::basic_format_arg() [with _Context =3D std::basic_format_context, char>]' 2808 | basic_format_arg() noexcept : _M_type(__format::_Arg_none) { } | ^~~~~~~~~~~~~~~~ C:/gcc1301/include/c++/13.0.1/format:2808:7: note: candidate expects 0 arguments, 1 provided C:/gcc1301/include/c++/13.0.1/format:2746:11: note: candidate: 'constexpr std::basic_format_arg, char> >::basic_format_arg(const std::basic_format_arg, char> >&)' 2746 | class basic_format_arg | ^~~~~~~~~~~~~~~~ C:/gcc1301/include/c++/13.0.1/format:2746:11: note: no known conversion f= or argument 1 from 'spdlog::details::dump_info<__gnu_cxx::__normal_iterator > >' to 'const std::basic_format_arg, char> >&' C:/gcc1301/include/c++/13.0.1/format:2746:11: note: candidate: 'constexpr std::basic_format_arg, char> >::basic_format_arg(std::basic_format_arg, char> >&&)' C:/gcc1301/include/c++/13.0.1/format:2746:11: note: no known conversion f= or argument 1 from 'spdlog::details::dump_info<__gnu_cxx::__normal_iterator > >' to 'std::basic_format_arg, char> >&&' C:/gcc1301/include/c++/13.0.1/format: In instantiation of 'static std::__format::_Arg_store<_Context, _Args>::_Element_t std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp =3D spdlog::details::dump_info<__gnu_cxx::__normal_iterator > >; _Context =3D std::basic_format_context, char>; _Args =3D {std::basic_format_arg, char> >::handle}; _Element_t =3D std::__format::_Arg_store, char>, std::basic_format_arg, char> >::handle>::_Element_t]': C:/gcc1301/include/c++/13.0.1/format:3252:23: required from 'std::__format::_Arg_store<_Context, _Args>::_Arg_store(_Tp& ...) [with _Tp= =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; _Context =3D std::basic_format_context, char>; _Args =3D {std::basic_format_arg, char> >::handle}]' C:/gcc1301/include/c++/13.0.1/format:3301:14: required from 'auto std::make_format_args(_Args&& ...) [with _Context =3D basic_format_context<__format::_Sink_iter, char>; _Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:372:88: required fr= om 'void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; spdlog::string_view_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:90:13: required from 'void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, spdlog::format_string_t, Args&& ...) [with Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:96:12: required from 'void spdlog::logger::log(spdlog::level::level_enum, spdlog::format_string_t, Args&& ...) [with Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:158:12: required fr= om 'void spdlog::logger::info(spdlog::format_string_t, Args&& ...) [= with Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/spdlog.h:170:31: required fr= om 'void spdlog::info(format_string_t, Args&& ...) [with Args =3D {details::dump_info<__gnu_cxx::__normal_iterator > > >}; format_string_t =3D std::basic_string_view]' example.cpp:195:17: required from here C:/gcc1301/include/c++/13.0.1/format:3241:38: error: no matching function f= or call to 'std::basic_format_arg, char> >::basic_format_arg(spdlog::details::dump_info<__gnu_cxx::__normal_iterator= > >&)' 3241 | basic_format_arg<_Context> __arg(__v); | ^~~~~ C:/gcc1301/include/c++/13.0.1/format:2996:9: note: candidate: 'template requires __formattable_with<_Tp, _Context, typename _Context::formatter_type::type>, std::basic_format_parse_context > std::basic_format_arg<_Context>::basic_format_arg(_Tp&) [with _Context =3D std::basic_format_context, char>]' 2996 | basic_format_arg(_Tp& __v) noexcept | ^~~~~~~~~~~~~~~~ C:/gcc1301/include/c++/13.0.1/format:2996:9: note: template argument deduction/substitution failed: C:/gcc1301/include/c++/13.0.1/format:2996:9: note: constraints not satisfied C:/gcc1301/include/c++/13.0.1/concepts: In substitution of 'template requires __formattable_with<_Tp, _Context, typename _Context::formatter_type::type>, std::basic_format_parse_context > std::basic_format_arg, char> >::basic_format_arg(_Tp&) [with _Tp =3D std::basic_format_context, char>]': C:/gcc1301/include/c++/13.0.1/format:3241:31: required from 'static std::__format::_Arg_store<_Context, _Args>::_Element_t std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp =3D spdlog::details::dump_info<__gnu_cxx::__normal_iterator > >; _Context =3D std::basic_format_context, char>; _Args =3D {std::basic_format_arg, char> >::handle}; _Element_t =3D std::__format::_Arg_store, char>, std::basic_format_arg, char> >::handle>::_Element_t]' C:/gcc1301/include/c++/13.0.1/format:3252:23: required from 'std::__format::_Arg_store<_Context, _Args>::_Arg_store(_Tp& ...) [with _Tp= =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; _Context =3D std::basic_format_context, char>; _Args =3D {std::basic_format_arg, char> >::handle}]' C:/gcc1301/include/c++/13.0.1/format:3301:14: required from 'auto std::make_format_args(_Args&& ...) [with _Context =3D basic_format_context<__format::_Sink_iter, char>; _Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:372:88: required fr= om 'void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; spdlog::string_view_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:90:13: required from 'void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, spdlog::format_string_t, Args&& ...) [with Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:96:12: required from 'void spdlog::logger::log(spdlog::level::level_enum, spdlog::format_string_t, Args&& ...) [with Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:158:12: required fr= om 'void spdlog::logger::info(spdlog::format_string_t, Args&& ...) [= with Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/spdlog.h:170:31: required fr= om 'void spdlog::info(format_string_t, Args&& ...) [with Args =3D {details::dump_info<__gnu_cxx::__normal_iterator > > >}; format_string_t =3D std::basic_string_view]' example.cpp:195:17: required from here C:/gcc1301/include/c++/13.0.1/concepts:139:13: required for the satisfact= ion of 'assignable_from<_Tp&, _Tp>' [with _Tp =3D std::formatter > > >, char>] C:/gcc1301/include/c++/13.0.1/concepts:263:13: required for the satisfact= ion of 'movable<_Tp>' [with _Tp =3D std::formatter > > >, char>] C:/gcc1301/include/c++/13.0.1/concepts:267:13: required for the satisfact= ion of 'copyable<_Tp>' [with _Tp =3D std::formatter > > >, char>] C:/gcc1301/include/c++/13.0.1/concepts:272:13: required for the satisfact= ion of 'semiregular<_Formatter>' [with _Formatter =3D std::formatter > > >, char>] C:/gcc1301/include/c++/13.0.1/format:2197:13: required for the satisfacti= on of '__formattable_with<_Tp, _Context, typename _Context::formatter_type::type>, std::basic_format_parse_context >' [with _Tp = =3D spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >; _Context =3D std::basic_format_context, char>] C:/gcc1301/include/c++/13.0.1/concepts:142:10: in requirements with '_Lhs __lhs', '_Rhs&& __rhs' [with _Lhs =3D std::formatter > > >, char>&; _Rhs =3D std::formatter > > >, char>] C:/gcc1301/include/c++/13.0.1/concepts:143:17: note: the required expression '__lhs =3D static_cast<_Rhs&&>(__rhs)' is invalid 143 | { __lhs =3D static_cast<_Rhs&&>(__rhs) } -> same_as<_Lhs>; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:/gcc1301/include/c++/13.0.1/format: In instantiation of 'static std::__format::_Arg_store<_Context, _Args>::_Element_t std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp =3D spdlog::details::dump_info<__gnu_cxx::__normal_iterator > >; _Context =3D std::basic_format_context, char>; _Args =3D {std::basic_format_arg, char> >::handle}; _Element_t =3D std::__format::_Arg_store, char>, std::basic_format_arg, char> >::handle>::_Element_t]': C:/gcc1301/include/c++/13.0.1/format:3252:23: required from 'std::__format::_Arg_store<_Context, _Args>::_Arg_store(_Tp& ...) [with _Tp= =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; _Context =3D std::basic_format_context, char>; _Args =3D {std::basic_format_arg, char> >::handle}]' C:/gcc1301/include/c++/13.0.1/format:3301:14: required from 'auto std::make_format_args(_Args&& ...) [with _Context =3D basic_format_context<__format::_Sink_iter, char>; _Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:372:88: required fr= om 'void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; spdlog::string_view_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:90:13: required from 'void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, spdlog::format_string_t, Args&& ...) [with Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:96:12: required from 'void spdlog::logger::log(spdlog::level::level_enum, spdlog::format_string_t, Args&& ...) [with Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:158:12: required fr= om 'void spdlog::logger::info(spdlog::format_string_t, Args&& ...) [= with Args =3D {spdlog::details::dump_info<__gnu_cxx::__normal_iterator > > >}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/spdlog.h:170:31: required fr= om 'void spdlog::info(format_string_t, Args&& ...) [with Args =3D {details::dump_info<__gnu_cxx::__normal_iterator > > >}; format_string_t =3D std::basic_string_view]' example.cpp:195:17: required from here C:/gcc1301/include/c++/13.0.1/format:2808:7: note: candidate: 'std::basic_format_arg<_Context>::basic_format_arg() [with _Context =3D std::basic_format_context, char>]' 2808 | basic_format_arg() noexcept : _M_type(__format::_Arg_none) { } | ^~~~~~~~~~~~~~~~ C:/gcc1301/include/c++/13.0.1/format:2808:7: note: candidate expects 0 arguments, 1 provided C:/gcc1301/include/c++/13.0.1/format:2746:11: note: candidate: 'constexpr std::basic_format_arg, char> >::basic_format_arg(const std::basic_format_arg, char> >&)' 2746 | class basic_format_arg | ^~~~~~~~~~~~~~~~ C:/gcc1301/include/c++/13.0.1/format:2746:11: note: no known conversion f= or argument 1 from 'spdlog::details::dump_info<__gnu_cxx::__normal_iterator > >' to 'const std::basic_format_arg, char> >&' C:/gcc1301/include/c++/13.0.1/format:2746:11: note: candidate: 'constexpr std::basic_format_arg, char> >::basic_format_arg(std::basic_format_arg, char> >&&)' C:/gcc1301/include/c++/13.0.1/format:2746:11: note: no known conversion f= or argument 1 from 'spdlog::details::dump_info<__gnu_cxx::__normal_iterator > >' to 'std::basic_format_arg, char> >&&' C:/gcc1301/include/c++/13.0.1/format: In instantiation of 'static std::__format::_Arg_store<_Context, _Args>::_Element_t std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp =3D spdlog::stopwatch; _Context =3D std::basic_format_context, char>; _Args =3D {std::basic_format_arg, char> >::handle}; _Element_t =3D std::__format::_Arg_store, char>, std::basic_format_arg, char> >::handle>::_Element_t]': C:/gcc1301/include/c++/13.0.1/format:3252:23: required from 'std::__format::_Arg_store<_Context, _Args>::_Arg_store(_Tp& ...) [with _Tp= =3D {spdlog::stopwatch}; _Context =3D std::basic_format_context, char>; _Args =3D {std::basic_format_arg, char> >::handle}]' C:/gcc1301/include/c++/13.0.1/format:3301:14: required from 'auto std::make_format_args(_Args&& ...) [with _Context =3D basic_format_context<__format::_Sink_iter, char>; _Args =3D {spdlog::stopwatch&}]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:372:88: required fr= om 'void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args =3D {spdlog::stopwatch&}; spdlog::string_view_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:90:13: required from 'void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, spdlog::format_string_t, Args&& ...) [with Args =3D {spdlog::stopwatch&}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:96:12: required from 'void spdlog::logger::log(spdlog::level::level_enum, spdlog::format_string_t, Args&& ...) [with Args =3D {spdlog::stopwatch&}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:158:12: required fr= om 'void spdlog::logger::info(spdlog::format_string_t, Args&& ...) [= with Args =3D {spdlog::stopwatch&}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/spdlog.h:170:31: required fr= om 'void spdlog::info(format_string_t, Args&& ...) [with Args =3D {stopwatch&}; format_string_t =3D std::basic_string_view]' example.cpp:240:17: required from here C:/gcc1301/include/c++/13.0.1/format:3241:38: error: no matching function f= or call to 'std::basic_format_arg, char> >::basic_format_arg(spdlog::stopwatch&)' 3241 | basic_format_arg<_Context> __arg(__v); | ^~~~~ C:/gcc1301/include/c++/13.0.1/format:2996:9: note: candidate: 'template requires __formattable_with<_Tp, _Context, typename _Context::formatter_type::type>, std::basic_format_parse_context > std::basic_format_arg<_Context>::basic_format_arg(_Tp&) [with _Context =3D std::basic_format_context, char>]' 2996 | basic_format_arg(_Tp& __v) noexcept | ^~~~~~~~~~~~~~~~ C:/gcc1301/include/c++/13.0.1/format:2996:9: note: template argument deduction/substitution failed: C:/gcc1301/include/c++/13.0.1/format:2996:9: note: constraints not satisfied C:/gcc1301/include/c++/13.0.1/format: In substitution of 'template=20 requires __formattable_with<_Tp, _Context, typename _Context::formatter_type::type>, std::basic_format_parse_context > std::basic_format_arg, char> >::basic_format_arg(_Tp&) [with _Tp =3D std::basic_format_context, char>]': C:/gcc1301/include/c++/13.0.1/format:3241:31: required from 'static std::__format::_Arg_store<_Context, _Args>::_Element_t std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp =3D spdlog::stopwatch; _Context =3D std::basic_format_context, char>; _Args =3D {std::basic_format_arg, char> >::handle}; _Element_t =3D std::__format::_Arg_store, char>, std::basic_format_arg, char> >::handle>::_Element_t]' C:/gcc1301/include/c++/13.0.1/format:3252:23: required from 'std::__format::_Arg_store<_Context, _Args>::_Arg_store(_Tp& ...) [with _Tp= =3D {spdlog::stopwatch}; _Context =3D std::basic_format_context, char>; _Args =3D {std::basic_format_arg, char> >::handle}]' C:/gcc1301/include/c++/13.0.1/format:3301:14: required from 'auto std::make_format_args(_Args&& ...) [with _Context =3D basic_format_context<__format::_Sink_iter, char>; _Args =3D {spdlog::stopwatch&}]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:372:88: required fr= om 'void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args =3D {spdlog::stopwatch&}; spdlog::string_view_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:90:13: required from 'void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, spdlog::format_string_t, Args&& ...) [with Args =3D {spdlog::stopwatch&}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:96:12: required from 'void spdlog::logger::log(spdlog::level::level_enum, spdlog::format_string_t, Args&& ...) [with Args =3D {spdlog::stopwatch&}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:158:12: required fr= om 'void spdlog::logger::info(spdlog::format_string_t, Args&& ...) [= with Args =3D {spdlog::stopwatch&}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/spdlog.h:170:31: required fr= om 'void spdlog::info(format_string_t, Args&& ...) [with Args =3D {stopwatch&}; format_string_t =3D std::basic_string_view]' example.cpp:240:17: required from here C:/gcc1301/include/c++/13.0.1/format:2197:13: required for the satisfacti= on of '__formattable_with<_Tp, _Context, typename _Context::formatter_type::type>, std::basic_format_parse_context >' [with _Tp = =3D spdlog::stopwatch; _Context =3D std::basic_format_context, char>] C:/gcc1301/include/c++/13.0.1/format:2199:7: in requirements with 'const _Formatter __cf', '_Tp&& __t', '_Context __fc' [with _Formatter =3D std::formatter; _Tp =3D spdlog::stopwatch; _Contex= t =3D std::basic_format_context, char>] C:/gcc1301/include/c++/13.0.1/format:2201:20: note: the required expression '__cf.format(__t, __fc)' is invalid 2201 | { __cf.format(__t, __fc) } -> same_as; | ~~~~~~~~~~~^~~~~~~~~~~ C:/gcc1301/include/c++/13.0.1/format: In instantiation of 'static std::__format::_Arg_store<_Context, _Args>::_Element_t std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp =3D spdlog::stopwatch; _Context =3D std::basic_format_context, char>; _Args =3D {std::basic_format_arg, char> >::handle}; _Element_t =3D std::__format::_Arg_store, char>, std::basic_format_arg, char> >::handle>::_Element_t]': C:/gcc1301/include/c++/13.0.1/format:3252:23: required from 'std::__format::_Arg_store<_Context, _Args>::_Arg_store(_Tp& ...) [with _Tp= =3D {spdlog::stopwatch}; _Context =3D std::basic_format_context, char>; _Args =3D {std::basic_format_arg, char> >::handle}]' C:/gcc1301/include/c++/13.0.1/format:3301:14: required from 'auto std::make_format_args(_Args&& ...) [with _Context =3D basic_format_context<__format::_Sink_iter, char>; _Args =3D {spdlog::stopwatch&}]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:372:88: required fr= om 'void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args =3D {spdlog::stopwatch&}; spdlog::string_view_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:90:13: required from 'void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, spdlog::format_string_t, Args&& ...) [with Args =3D {spdlog::stopwatch&}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:96:12: required from 'void spdlog::logger::log(spdlog::level::level_enum, spdlog::format_string_t, Args&& ...) [with Args =3D {spdlog::stopwatch&}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:158:12: required fr= om 'void spdlog::logger::info(spdlog::format_string_t, Args&& ...) [= with Args =3D {spdlog::stopwatch&}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/spdlog.h:170:31: required fr= om 'void spdlog::info(format_string_t, Args&& ...) [with Args =3D {stopwatch&}; format_string_t =3D std::basic_string_view]' example.cpp:240:17: required from here C:/gcc1301/include/c++/13.0.1/format:2808:7: note: candidate: 'std::basic_format_arg<_Context>::basic_format_arg() [with _Context =3D std::basic_format_context, char>]' 2808 | basic_format_arg() noexcept : _M_type(__format::_Arg_none) { } | ^~~~~~~~~~~~~~~~ C:/gcc1301/include/c++/13.0.1/format:2808:7: note: candidate expects 0 arguments, 1 provided C:/gcc1301/include/c++/13.0.1/format:2746:11: note: candidate: 'constexpr std::basic_format_arg, char> >::basic_format_arg(const std::basic_format_arg, char> >&)' 2746 | class basic_format_arg | ^~~~~~~~~~~~~~~~ C:/gcc1301/include/c++/13.0.1/format:2746:11: note: no known conversion f= or argument 1 from 'spdlog::stopwatch' to 'const std::basic_format_arg, char> >&' C:/gcc1301/include/c++/13.0.1/format:2746:11: note: candidate: 'constexpr std::basic_format_arg, char> >::basic_format_arg(std::basic_format_arg, char> >&&)' C:/gcc1301/include/c++/13.0.1/format:2746:11: note: no known conversion f= or argument 1 from 'spdlog::stopwatch' to 'std::basic_format_arg, char> >&&' C:/gcc1301/include/c++/13.0.1/format: In instantiation of 'static std::__format::_Arg_store<_Context, _Args>::_Element_t std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp =3D my_type; _Context =3D std::basic_format_context, char>; _Args =3D {std::basic_format_arg, char> >::handle}; _Element_t =3D std::__format::_Arg_store, char>, std::basic_format_arg, char> >::handle>::_Element_t]': C:/gcc1301/include/c++/13.0.1/format:3252:23: required from 'std::__format::_Arg_store<_Context, _Args>::_Arg_store(_Tp& ...) [with _Tp= =3D {my_type}; _Context =3D std::basic_format_context, char>; _Args =3D {std::basic_format_arg, char> >::handle}]' C:/gcc1301/include/c++/13.0.1/format:3301:14: required from 'auto std::make_format_args(_Args&& ...) [with _Context =3D basic_format_context<__format::_Sink_iter, char>; _Args =3D {my_type}= ]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:372:88: required fr= om 'void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args =3D {my_type}; spdlog::string_view_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:90:13: required from 'void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, spdlog::format_string_t, Args&& ...) [with Args =3D {my_type}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:96:12: required from 'void spdlog::logger::log(spdlog::level::level_enum, spdlog::format_string_t, Args&& ...) [with Args =3D {my_type}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:158:12: required fr= om 'void spdlog::logger::info(spdlog::format_string_t, Args&& ...) [= with Args =3D {my_type}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/spdlog.h:170:31: required fr= om 'void spdlog::info(format_string_t, Args&& ...) [with Args =3D {my_type}; format_string_t =3D std::basic_string_view]' example.cpp:299:17: required from here C:/gcc1301/include/c++/13.0.1/format:3241:38: error: no matching function f= or call to 'std::basic_format_arg, char> >::basic_format_arg(my_type&)' 3241 | basic_format_arg<_Context> __arg(__v); | ^~~~~ C:/gcc1301/include/c++/13.0.1/format:2996:9: note: candidate: 'template requires __formattable_with<_Tp, _Context, typename _Context::formatter_type::type>, std::basic_format_parse_context > std::basic_format_arg<_Context>::basic_format_arg(_Tp&) [with _Context =3D std::basic_format_context, char>]' 2996 | basic_format_arg(_Tp& __v) noexcept | ^~~~~~~~~~~~~~~~ C:/gcc1301/include/c++/13.0.1/format:2996:9: note: template argument deduction/substitution failed: C:/gcc1301/include/c++/13.0.1/format:2996:9: note: constraints not satisfied C:/gcc1301/include/c++/13.0.1/format: In substitution of 'template=20 requires __formattable_with<_Tp, _Context, typename _Context::formatter_type::type>, std::basic_format_parse_context > std::basic_format_arg, char> >::basic_format_arg(_Tp&) [with _Tp =3D std::basic_format_context, char>]': C:/gcc1301/include/c++/13.0.1/format:3241:31: required from 'static std::__format::_Arg_store<_Context, _Args>::_Element_t std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp =3D my_type; _Context =3D std::basic_format_context, char>; _Args =3D {std::basic_format_arg, char> >::handle}; _Element_t =3D std::__format::_Arg_store, char>, std::basic_format_arg, char> >::handle>::_Element_t]' C:/gcc1301/include/c++/13.0.1/format:3252:23: required from 'std::__format::_Arg_store<_Context, _Args>::_Arg_store(_Tp& ...) [with _Tp= =3D {my_type}; _Context =3D std::basic_format_context, char>; _Args =3D {std::basic_format_arg, char> >::handle}]' C:/gcc1301/include/c++/13.0.1/format:3301:14: required from 'auto std::make_format_args(_Args&& ...) [with _Context =3D basic_format_context<__format::_Sink_iter, char>; _Args =3D {my_type}= ]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:372:88: required fr= om 'void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args =3D {my_type}; spdlog::string_view_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:90:13: required from 'void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, spdlog::format_string_t, Args&& ...) [with Args =3D {my_type}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:96:12: required from 'void spdlog::logger::log(spdlog::level::level_enum, spdlog::format_string_t, Args&& ...) [with Args =3D {my_type}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:158:12: required fr= om 'void spdlog::logger::info(spdlog::format_string_t, Args&& ...) [= with Args =3D {my_type}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/spdlog.h:170:31: required fr= om 'void spdlog::info(format_string_t, Args&& ...) [with Args =3D {my_type}; format_string_t =3D std::basic_string_view]' example.cpp:299:17: required from here C:/gcc1301/include/c++/13.0.1/format:2197:13: required for the satisfacti= on of '__formattable_with<_Tp, _Context, typename _Context::formatter_type::type>, std::basic_format_parse_context >' [with _Tp = =3D my_type; _Context =3D std::basic_format_context, char>] C:/gcc1301/include/c++/13.0.1/format:2199:7: in requirements with 'const _Formatter __cf', '_Tp&& __t', '_Context __fc' [with _Formatter =3D std::formatter; _Tp =3D my_type; _Context =3D std::basic_format_context, char>] C:/gcc1301/include/c++/13.0.1/format:2201:20: note: the required expression '__cf.format(__t, __fc)' is invalid 2201 | { __cf.format(__t, __fc) } -> same_as; | ~~~~~~~~~~~^~~~~~~~~~~ C:/gcc1301/include/c++/13.0.1/format: In instantiation of 'static std::__format::_Arg_store<_Context, _Args>::_Element_t std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp =3D my_type; _Context =3D std::basic_format_context, char>; _Args =3D {std::basic_format_arg, char> >::handle}; _Element_t =3D std::__format::_Arg_store, char>, std::basic_format_arg, char> >::handle>::_Element_t]': C:/gcc1301/include/c++/13.0.1/format:3252:23: required from 'std::__format::_Arg_store<_Context, _Args>::_Arg_store(_Tp& ...) [with _Tp= =3D {my_type}; _Context =3D std::basic_format_context, char>; _Args =3D {std::basic_format_arg, char> >::handle}]' C:/gcc1301/include/c++/13.0.1/format:3301:14: required from 'auto std::make_format_args(_Args&& ...) [with _Context =3D basic_format_context<__format::_Sink_iter, char>; _Args =3D {my_type}= ]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:372:88: required fr= om 'void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args =3D {my_type}; spdlog::string_view_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:90:13: required from 'void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, spdlog::format_string_t, Args&& ...) [with Args =3D {my_type}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:96:12: required from 'void spdlog::logger::log(spdlog::level::level_enum, spdlog::format_string_t, Args&& ...) [with Args =3D {my_type}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/logger.h:158:12: required fr= om 'void spdlog::logger::info(spdlog::format_string_t, Args&& ...) [= with Args =3D {my_type}; spdlog::format_string_t =3D std::basic_string_view]' C:/gcc1301/x86_64-w64-mingw32/include/spdlog/spdlog.h:170:31: required fr= om 'void spdlog::info(format_string_t, Args&& ...) [with Args =3D {my_type}; format_string_t =3D std::basic_string_view]' example.cpp:299:17: required from here C:/gcc1301/include/c++/13.0.1/format:2808:7: note: candidate: 'std::basic_format_arg<_Context>::basic_format_arg() [with _Context =3D std::basic_format_context, char>]' 2808 | basic_format_arg() noexcept : _M_type(__format::_Arg_none) { } | ^~~~~~~~~~~~~~~~ C:/gcc1301/include/c++/13.0.1/format:2808:7: note: candidate expects 0 arguments, 1 provided C:/gcc1301/include/c++/13.0.1/format:2746:11: note: candidate: 'constexpr std::basic_format_arg, char> >::basic_format_arg(const std::basic_format_arg, char> >&)' 2746 | class basic_format_arg | ^~~~~~~~~~~~~~~~ C:/gcc1301/include/c++/13.0.1/format:2746:11: note: no known conversion f= or argument 1 from 'my_type' to 'const std::basic_format_arg, char> >&' C:/gcc1301/include/c++/13.0.1/format:2746:11: note: candidate: 'constexpr std::basic_format_arg, char> >::basic_format_arg(std::basic_format_arg, char> >&&)' C:/gcc1301/include/c++/13.0.1/format:2746:11: note: no known conversion f= or argument 1 from 'my_type' to 'std::basic_format_arg, char> >&&' ```=