Hello, I am packaging an app that has a prebuild step requiring the compilation of tools implemented in C++ 20. These tools fail to compile in the default build environment because G++ 12, available in Bookworm’s repositories, does not support <format>
.
I’ve tried to switch to Clang but the compilation fails with the same error. Clang uses the standard library provided by GCC (libstdc++) and since the latter does not provide <format>
this cannot pass.
I’ve tried to switch to Clang + libc++ but it produces its own batch of errors. Most probably I don’t pass the correct flags around.
All of this is quite complex to handle. Which alternatives do you suggest? Is there a way to have something more recent than Bookworm for the build environment?