Strange errors after system gcc upgraded to 13.1.1

Hi Mat!

Thank you so much for your help!
cmdb2-main.zip (764.1 KB)

Our project is currently private, but I can send you an archive to test it out (since it’s far from done).

The project is having some Rust code and some C/C++ code. In order to test, you just need to create a build folder at the root and cmake ../ and finally make.

In CMakeLists.txt, there’s a commented out line that can set up the CXX versions.

I think my code fails because it contains #include <algorithm>, but I’m not sure about this.

I don’t have the Arch Linux system at my hand right now, and I couldn’t test it out. I’ll tell you more when I find a system with gcc-13.

Thank you so much for your quick reply!