AnotherCraft / ac-worldgen

AnotherCraft worldgen system
Other
31 stars 3 forks source link

Using std::format is not supported on current GCC #12

Open SamCZ opened 2 years ago

SamCZ commented 2 years ago

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

CZDanol commented 2 years ago

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.

SamCZ commented 2 years ago

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