mkdir -p build
g++ -std=c++20 -flto -march=native -fexceptions -Wall -Wextra -pthread -DNetworkFile=\"/root/OpenBench2/Client/Networks/BAD01AC2\" -DNDEBUG -O3 -pthread -c -o build/tbprobe.o src/external/fathom/tbprobe.cpp
g++ -std=c++20 -flto -march=native -fexceptions -Wall -Wextra -pthread -DNetworkFile=\"/root/OpenBench2/Client/Networks/BAD01AC2\" -DNDEBUG -O3 -c -o build/bmi2.o src/bmi2.cpp
g++ -std=c++20 -flto -march=native -fexceptions -Wall -Wextra -pthread -DNetworkFile=\"/root/OpenBench2/Client/Networks/BAD01AC2\" -DNDEBUG -O3 -c -o build/board.o src/board.cpp
g++ -std=c++20 -flto -march=native -fexceptions -Wall -Wextra -pthread -DNetworkFile=\"/root/OpenBench2/Client/Networks/BAD01AC2\" -DNDEBUG -O3 -c -o build/eval.o src/eval.cpp
g++ -std=c++20 -flto -march=native -fexceptions -Wall -Wextra -pthread -DNetworkFile=\"/root/OpenBench2/Client/Networks/BAD01AC2\" -DNDEBUG -O3 -c -o build/globals.o src/globals.cpp
g++ -std=c++20 -flto -march=native -fexceptions -Wall -Wextra -pthread -DNetworkFile=\"/root/OpenBench2/Client/Networks/BAD01AC2\" -DNDEBUG -O3 -c -o build/move.o src/move.cpp
g++ -std=c++20 -flto -march=native -fexceptions -Wall -Wextra -pthread -DNetworkFile=\"/root/OpenBench2/Client/Networks/BAD01AC2\" -DNDEBUG -O3 -c -o build/movegen.o src/movegen.cpp
g++ -std=c++20 -flto -march=native -fexceptions -Wall -Wextra -pthread -DNetworkFile=\"/root/OpenBench2/Client/Networks/BAD01AC2\" -DNDEBUG -O3 -c -o build/search.o src/search.cpp
g++ -std=c++20 -flto -march=native -fexceptions -Wall -Wextra -pthread -DNetworkFile=\"/root/OpenBench2/Client/Networks/BAD01AC2\" -DNDEBUG -O3 -c -o build/tests.o src/tests.cpp
g++ -std=c++20 -flto -march=native -fexceptions -Wall -Wextra -pthread -DNetworkFile=\"/root/OpenBench2/Client/Networks/BAD01AC2\" -DNDEBUG -O3 -c -o build/tt.o src/tt.cpp
g++ -std=c++20 -flto -march=native -fexceptions -Wall -Wextra -pthread -DNetworkFile=\"/root/OpenBench2/Client/Networks/BAD01AC2\" -DNDEBUG -O3 -c -o build/uci.o src/uci.cpp
In file included from src/globals.cpp:18:
src/tunables.h: In constructor ‘constexpr Tunable::Tunable(std::string, double, int)’:
src/tunables.h:25:24: error: invalid type for parameter 1 of ‘constexpr’ function ‘constexpr Tunable::Tunable(std::string, double, int)’
   25 |     constexpr explicit Tunable(std::string _name, double _value, int _divisor)
      |                        ^~~~~~~
In file included from /opt/rh/devtoolset-11/root/usr/include/c++/11/string:55,
                 from /opt/rh/devtoolset-11/root/usr/include/c++/11/bits/locale_classes.h:40,
                 from /opt/rh/devtoolset-11/root/usr/include/c++/11/bits/ios_base.h:41,
                 from /opt/rh/devtoolset-11/root/usr/include/c++/11/ios:42,
                 from /opt/rh/devtoolset-11/root/usr/include/c++/11/ostream:38,
                 from /opt/rh/devtoolset-11/root/usr/include/c++/11/iostream:39,
                 from src/globals.h:21,
                 from src/tunables.h:21,
                 from src/globals.cpp:18:
/opt/rh/devtoolset-11/root/usr/include/c++/11/bits/basic_string.h:3174:11: note: ‘std::basic_string<char>’ is not literal because:
 3174 |     class basic_string
      |           ^~~~~~~~~~~~
/opt/rh/devtoolset-11/root/usr/include/c++/11/bits/basic_string.h:3174:11: note:   ‘std::basic_string<char>’ does not have ‘constexpr’ destructor
In file included from src/corrhist.h:20,
                 from src/search.h:22,
                 from src/search.cpp:19:
src/tunables.h: In constructor ‘constexpr Tunable::Tunable(std::string, double, int)’:
src/tunables.h:25:24: error: invalid type for parameter 1 of ‘constexpr’ function ‘constexpr Tunable::Tunable(std::string, double, int)’
   25 |     constexpr explicit Tunable(std::string _name, double _value, int _divisor)
      |                        ^~~~~~~
In file included from /opt/rh/devtoolset-11/root/usr/include/c++/11/string:55,
                 from /opt/rh/devtoolset-11/root/usr/include/c++/11/bits/locale_classes.h:40,
                 from /opt/rh/devtoolset-11/root/usr/include/c++/11/bits/ios_base.h:41,
                 from /opt/rh/devtoolset-11/root/usr/include/c++/11/ios:42,
                 from /opt/rh/devtoolset-11/root/usr/include/c++/11/ostream:38,
                 from /opt/rh/devtoolset-11/root/usr/include/c++/11/iostream:39,
                 from src/globals.h:21,
                 from src/search.h:20,
                 from src/search.cpp:19:
/opt/rh/devtoolset-11/root/usr/include/c++/11/bits/basic_string.h:3174:11: note: ‘std::basic_string<char>’ is not literal because:
 3174 |     class basic_string
      |           ^~~~~~~~~~~~
/opt/rh/devtoolset-11/root/usr/include/c++/11/bits/basic_string.h:3174:11: note:   ‘std::basic_string<char>’ does not have ‘constexpr’ destructor
make: *** [makefile:48:build/globals.o] 错误 1
make: *** 正在等待未完成的任务....
In file included from src/corrhist.h:20,
                 from src/search.h:22,
                 from src/uci.cpp:20:
src/tunables.h: In constructor ‘constexpr Tunable::Tunable(std::string, double, int)’:
src/tunables.h:25:24: error: invalid type for parameter 1 of ‘constexpr’ function ‘constexpr Tunable::Tunable(std::string, double, int)’
   25 |     constexpr explicit Tunable(std::string _name, double _value, int _divisor)
      |                        ^~~~~~~
In file included from /opt/rh/devtoolset-11/root/usr/include/c++/11/string:55,
                 from /opt/rh/devtoolset-11/root/usr/include/c++/11/bits/locale_classes.h:40,
                 from /opt/rh/devtoolset-11/root/usr/include/c++/11/bits/ios_base.h:41,
                 from /opt/rh/devtoolset-11/root/usr/include/c++/11/ios:42,
                 from /opt/rh/devtoolset-11/root/usr/include/c++/11/ostream:38,
                 from /opt/rh/devtoolset-11/root/usr/include/c++/11/iostream:39,
                 from src/globals.h:21,
                 from src/uci.cpp:18:
/opt/rh/devtoolset-11/root/usr/include/c++/11/bits/basic_string.h:3174:11: note: ‘std::basic_string<char>’ is not literal because:
 3174 |     class basic_string
      |           ^~~~~~~~~~~~
/opt/rh/devtoolset-11/root/usr/include/c++/11/bits/basic_string.h:3174:11: note:   ‘std::basic_string<char>’ does not have ‘constexpr’ destructor
src/search.cpp: In member function ‘void Engine::resetEngine()’:
src/search.cpp:60:16: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘std::array<std::array<Move, 64>, 64>::value_type’ {aka ‘struct std::array<Move, 64>’}; use assignment or value-initialization instead [-Wclass-memaccess]
   60 |     std::memset(counterMoves.data(), 0, sizeof(counterMoves));
      |     ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/globals.h:25,
                 from src/search.h:20,
                 from src/search.cpp:19:
/opt/rh/devtoolset-11/root/usr/include/c++/11/array:95:12: note: ‘std::array<std::array<Move, 64>, 64>::value_type’ {aka ‘struct std::array<Move, 64>’} declared here
   95 |     struct array
      |            ^~~~~
In file included from src/corrhist.h:20,
                 from src/board.cpp:19:
src/tunables.h: In constructor ‘constexpr Tunable::Tunable(std::string, double, int)’:
src/tunables.h:25:24: error: invalid type for parameter 1 of ‘constexpr’ function ‘constexpr Tunable::Tunable(std::string, double, int)’
   25 |     constexpr explicit Tunable(std::string _name, double _value, int _divisor)
      |                        ^~~~~~~
In file included from /opt/rh/devtoolset-11/root/usr/include/c++/11/string:55,
                 from /opt/rh/devtoolset-11/root/usr/include/c++/11/bits/locale_classes.h:40,
                 from /opt/rh/devtoolset-11/root/usr/include/c++/11/bits/ios_base.h:41,
                 from /opt/rh/devtoolset-11/root/usr/include/c++/11/ios:42,
                 from /opt/rh/devtoolset-11/root/usr/include/c++/11/ostream:38,
                 from /opt/rh/devtoolset-11/root/usr/include/c++/11/iostream:39,
                 from src/globals.h:21,
                 from src/board.cpp:18:
/opt/rh/devtoolset-11/root/usr/include/c++/11/bits/basic_string.h:3174:11: note: ‘std::basic_string<char>’ is not literal because:
 3174 |     class basic_string
      |           ^~~~~~~~~~~~
/opt/rh/devtoolset-11/root/usr/include/c++/11/bits/basic_string.h:3174:11: note:   ‘std::basic_string<char>’ does not have ‘constexpr’ destructor
make: *** [makefile:48:build/uci.o] 错误 1
make: *** [makefile:48:build/board.o] 错误 1
make: *** [makefile:48:build/search.o] 错误 1