[Bug c++/109688] SPDLOG build fails with C++20 and -DSPDLOG_USE_STD_FORMAT=1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109688 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #6 from TC --- https://cplusplus.github.io/LWG/issue3636 clarifies that formatter::format must be const, which is not the case in that example.
[Bug c++/109688] SPDLOG build fails with C++20 and -DSPDLOG_USE_STD_FORMAT=1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109688 --- Comment #5 from Andrew Pinski --- (In reply to Jamaika from comment #4) > https://github.com/gabime/spdlog/blob/v1.x/example/example.cpp > ``` > for %%f in ("example.cpp") do g++.exe -v -std=gnu++20 -march=x86-64-v2 > -ftree-vectorize -g0 -O3 -fPIC -mavx -mxsave -mpclmul -maes > -DSPDLOG_USE_STD_FORMAT=1 -c %%f -o %%~nf.o > ``` That will not work as example.cpp depends on the spdlog headers. PLEASE again have the exact directions on how to test this. Also just like your previous bugs, this is lacking that. Maybe also report the failure to the developer of spdlog since it is not obvious if it is a libstdc++, C++ front-end bug or just a problem with spdlog. Note saying spdlog works with MSVC does not mean it is still not buggy code.
[Bug c++/109688] SPDLOG build fails with C++20 and -DSPDLOG_USE_STD_FORMAT=1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109688 --- Comment #4 from Jamaika --- https://github.com/gabime/spdlog/blob/v1.x/example/example.cpp ``` for %%f in ("example.cpp") do g++.exe -v -std=gnu++20 -march=x86-64-v2 -ftree-vectorize -g0 -O3 -fPIC -mavx -mxsave -mpclmul -maes -DSPDLOG_USE_STD_FORMAT=1 -c %%f -o %%~nf.o ```
[Bug c++/109688] SPDLOG build fails with C++20 and -DSPDLOG_USE_STD_FORMAT=1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109688 --- Comment #3 from Jamaika --- SPDLOG claims that MSVC compiles.
[Bug c++/109688] SPDLOG build fails with C++20 and -DSPDLOG_USE_STD_FORMAT=1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109688 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED |WAITING Last reconfirmed||2023-05-01 --- Comment #2 from Andrew Pinski --- Also how do you reproduce this issue? You just provided the error message.
[Bug c++/109688] SPDLOG build fails with C++20 and -DSPDLOG_USE_STD_FORMAT=1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109688 Andrew Pinski changed: What|Removed |Added Summary|Build fail with C++20 and |SPDLOG build fails with |-DSPDLOG_USE_STD_FORMAT=1 |C++20 and ||-DSPDLOG_USE_STD_FORMAT=1 --- Comment #1 from Andrew Pinski --- Are you sure this is not a bug in SPDLOG ?