Closed adapt-L closed 2 months ago
What is your compiler version?
https://github.com/SChernykh/p2pool?tab=readme-ov-file#prerequisites
C++ compiler with C++17 support. GCC-8, Clang-13 and MSVC-2019 have been tested and confirmed to work, older compilers may fail to build P2Pool.
~If you can try to build with -DWITH_GRPC=OFF
in cmake command line (clean the build folder before trying again).~ No, it won't work because you get an error in another file that's compiled always.
GCC 8.4.0, 11.4.0, 12.3.0, 13.2.1, 14.1.0 and clang 13.0.0, 15.0.7, 17.0.6, 18.1.8 all compile this code without errors.
My bad, it appears that it was due to my configuration setting std=c++14 from an older build script. I've fixed it now. I was using GCC 13.2.1 20240210 btw.
It looks like my compiler is complaining about the way your code uses atomics. Here is the error from cmake: