Build failure on Manjaro with GCC 11
Both release and development branches fail to build on Manjaro with GCC 11. Error may be from google-benchmark. CMake info is attached.cmake_failed_palisade.txt
In file included from /home/XXX/Repositories/palisade-development/third-party/google-benchmark/src/benchmark_register.cc:15: /home/XXX/Repositories/palisade-development/third-party/google-benchmark/src/benchmark_register.h: In function ‘typename std::vector<T>::iterator benchmark::internal::AddPowers(std::vector<T>*, T, T, int)’: /home/XXX/Repositories/palisade-development/third-party/google-benchmark/src/benchmark_register.h:22:30: error: ‘numeric_limits’ is not a member of ‘std’ 22 | static const T kmax = std::numeric_limits<T>::max(); | ^~~~~~~~~~~~~~ /home/XXX/Repositories/palisade-development/third-party/google-benchmark/src/benchmark_register.h:22:46: error: expected primary-expression before ‘>’ token 22 | static const T kmax = std::numeric_limits<T>::max(); | ^ /home/XXX/Repositories/palisade-development/third-party/google-benchmark/src/benchmark_register.h:22:49: error: ‘::max’ has not been declared; did you mean ‘std::max’? 22 | static const T kmax = std::numeric_limits<T>::max(); | ^~~ | std::max In file included from /usr/include/c++/11.1.0/algorithm:62, from /home/XXX/Repositories/palisade-development/third-party/google-benchmark/include/benchmark/benchmark.h:172, from /home/XXX/Repositories/palisade-development/third-party/google-benchmark/src/internal_macros.h:4, from /home/XXX/Repositories/palisade-development/third-party/google-benchmark/src/check.h:8, from /home/XXX/Repositories/palisade-development/third-party/google-benchmark/src/benchmark_register.h:6, from /home/XXX/Repositories/palisade-development/third-party/google-benchmark/src/benchmark_register.cc:15: /usr/include/c++/11.1.0/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here 3467 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~ make[2]: *** [third-party/google-benchmark/src/CMakeFiles/benchmark.dir/build.make:118: third-party/google-benchmark/src/CMakeFiles/benchmark.dir/benchmark_register.cc.o] Error 1