ac-worldgen icon indicating copy to clipboard operation
ac-worldgen copied to clipboard

Using std::format is not supported on current GCC

Open SamCZ opened this issue 3 years ago • 2 comments

As you can see here https://en.cppreference.com/w/cpp/compiler_support sectial P0645R10 std::format is not yet supported on gcc so I would recommend not using this function and header at all since it generated error image and program cannot be run on Linux

SamCZ avatar May 07 '22 23:05 SamCZ

It's supported by clang, so there's a way to compile it for linux. Feel free to make a fork and remove all occurences of std::format or make a dummy implementation for it, but I don't currently think this is worth dealing with for me.

CZDanol avatar May 08 '22 09:05 CZDanol

image clang is not an option, I will change it to https://github.com/fmtlib/fmt as mentioned on the stackoverflow image

SamCZ avatar May 08 '22 22:05 SamCZ