libFmt causes compilation and linking errors on Windows, Fedora 39, Guix, Freebsd.
C++23 includes std::format which can replace it.
This patch removes dependency on fmt and introduces replacement functions for fmt::print and fmt::println making gd-tools ready to be cross platform and less prone to OS/Distro specific library issues.
However, it looks like ranges are not yet supported in std::format and I don't know how to implement it.
Check mecab_split.cpp at line 186, I can't test gd-mecab since it's not working on my OS
libFmt causes compilation and linking errors on Windows, Fedora 39, Guix, Freebsd. C++23 includes std::format which can replace it.
This patch removes dependency on fmt and introduces replacement functions for
fmt::print
andfmt::println
making gd-tools ready to be cross platform and less prone to OS/Distro specific library issues.However, it looks like ranges are not yet supported in std::format and I don't know how to implement it. Check mecab_split.cpp at line 186, I can't test gd-mecab since it's not working on my OS