Open nekoteoj opened 8 months ago
For the same reason, I haven't been able to build ProteoWizard with any GCC newer than major version 11.
The issue seems to be with incompatibilities between BOOST 1.76 and newer compiler versions. Among other issues boost/math/tools/mp.h tries to #include \<utility> inside of a namespace, which ends up violating the C++ standard. Older compilers overlooked this, but it's been in the C++ standard for a while, and newer compilers are enforcing it. Boost fixes this in 1.77.
This is becoming more of a problem as more distributions are starting to default to GCC versions > 12. Any chance of upgrading ProteoWizard to at least 1.77? @chambm any chance that this could be addressed in the near future?
I tried to build the latest commit of pwiz using gcc 13 and encountered some errors. I guessed that there are some part in the current source code that are interfering with the c++ libraries included in gcc 13.
Here is the procedure to reproduce the error message. (I tried to reproduce what is in the repository's github workflow file)
Here is the error message
I'm using Void Linux (x86-64) with GCC 13.2.0 but the problem existed for other distros as well. I think it is the compiler things. Here is the compiler information.
The code built fine with gcc 11. I think it would be great to make this great library to support the newer version of gcc too. Thanks!