clang++ -O3 -std=c++20 -Wall -Wextra -march=native -flto -fuse-ld=lld  -DEVALFILE=\"/home/ksw0518/OpenBench/Client/Networks/CF752F1C\" Turbulence_v4/BitManipulation.cpp Turbulence_v4/Board.cpp Turbulence_v4/Evaluation.cpp Turbulence_v4/MoveGeneration.cpp Turbulence_v4/Search.cpp Turbulence_v4/UCI.cpp -o Turbulence-0E8DAE15-CF752F1C
Turbulence_v4/Board.cpp:340:9: warning: variable 'num' set but not used [-Wunused-but-set-variable]
  340 |     int num = 0;
      |         ^
1 warning generated.
Turbulence_v4/Evaluation.cpp:241:11: warning: variable 'sum' set but not used [-Wunused-but-set-variable]
  241 |         uint64_t sum = 0;
      |                  ^
1 warning generated.
Turbulence_v4/Search.cpp:727:61: warning: comparison of integers of different signs: 'int64_t' (aka 'long') and 'uint64_t' (aka 'unsigned long') [-Wsign-compare]
  727 |         if (elapsedMS > data.Searchtime_MS || data.searchNodeCount > hardNodeBound)
      |                                               ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
Turbulence_v4/Search.cpp:1197:19: warning: unused variable 'ueacc' [-Wunused-variable]
 1197 |                 AccumulatorPair ueacc = board.accumulator;
      |                                 ^~~~~
Turbulence_v4/Search.cpp:922:61: warning: comparison of integers of different signs: 'int64_t' (aka 'long') and 'uint64_t' (aka 'unsigned long') [-Wsign-compare]
  922 |         if (elapsedMS > data.Searchtime_MS || data.searchNodeCount > hardNodeBound) {
      |                                               ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
Turbulence_v4/Search.cpp:1616:22: warning: unused parameter 'PV_line' [-Wunused-parameter]
 1616 | void print_UCI(Move(&PV_line)[99][99], Move& bestmove, int score, float elapsedMS, float nps, ThreadData& data)
      |                      ^
Turbulence_v4/Search.cpp:1646:25: warning: unused parameter 'PV_line' [-Wunused-parameter]
 1646 | void print_Pretty(Move(&PV_line)[99][99], Move& bestmove, int score, float elapsedMS, float nps, int window_change, int asp_alpha, int asp_beta, ThreadData data)
      |                         ^
Turbulence_v4/Search.cpp:1646:49: warning: unused parameter 'bestmove' [-Wunused-parameter]
 1646 | void print_Pretty(Move(&PV_line)[99][99], Move& bestmove, int score, float elapsedMS, float nps, int window_change, int asp_alpha, int asp_beta, ThreadData data)
      |                                                 ^
Turbulence_v4/Search.cpp:1646:102: warning: unused parameter 'window_change' [-Wunused-parameter]
 1646 | void print_Pretty(Move(&PV_line)[99][99], Move& bestmove, int score, float elapsedMS, float nps, int window_change, int asp_alpha, int asp_beta, ThreadData data)
      |                                                                                                      ^
Turbulence_v4/Search.cpp:1646:121: warning: unused parameter 'asp_alpha' [-Wunused-parameter]
 1646 | void print_Pretty(Move(&PV_line)[99][99], Move& bestmove, int score, float elapsedMS, float nps, int window_change, int asp_alpha, int asp_beta, ThreadData data)
      |                                                                                                                         ^
Turbulence_v4/Search.cpp:1646:136: warning: unused parameter 'asp_beta' [-Wunused-parameter]
 1646 | void print_Pretty(Move(&PV_line)[99][99], Move& bestmove, int score, float elapsedMS, float nps, int window_change, int asp_alpha, int asp_beta, ThreadData data)
      |                                                                                                                                        ^
Turbulence_v4/Search.cpp:2344:7: warning: variable 'moves' set but not used [-Wunused-but-set-variable]
 2344 |                 int moves = 0;
      |                     ^
Turbulence_v4/Search.cpp:2378:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]
 2378 |                 for (int i = 0; i < gameData.size(); i++) {
      |                                 ~ ^ ~~~~~~~~~~~~~~~
Turbulence_v4/Search.cpp:176:15: warning: unused variable 'MAX_CAPTHIST' [-Wunused-const-variable]
  176 | constexpr int MAX_CAPTHIST = 1024;
      |               ^~~~~~~~~~~~
12 warnings generated.
Turbulence_v4/UCI.cpp:344:48: warning: unused parameter 'incre' [-Wunused-parameter]
  344 | int Calculate_Hard_Bound(int64_t time, int64_t incre)
      |                                                ^
Turbulence_v4/UCI.cpp:778:18: warning: unused variable 'start' [-Wunused-variable]
  778 |             auto start = std::chrono::high_resolution_clock::now();
      |                  ^~~~~
Turbulence_v4/UCI.cpp:781:18: warning: unused variable 'end' [-Wunused-variable]
  781 |             auto end = std::chrono::high_resolution_clock::now();
      |                  ^~~
Turbulence_v4/UCI.cpp:837:16: error: no matching function for call to 'max'
  837 |                                         maxTime = std::max(1LL, static_cast<int64_t>(wtime * MAX_TIME_MULTIPLIER));
      |                                                   ^~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/algorithmfwd.h:407:5: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('long long' vs. 'int64_t' (aka 'long'))
  407 |     max(const _Tp&, const _Tp&);
      |     ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algo.h:5805:5: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'long long'
 5805 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algo.h:5795:5: note: candidate function template not viable: requires single argument '__l', but 2 arguments were provided
 5795 |     max(initializer_list<_Tp> __l)
      |     ^   ~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/algorithmfwd.h:412:5: note: candidate function template not viable: requires 3 arguments, but 2 were provided
  412 |     max(const _Tp&, const _Tp&, _Compare);
      |     ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Turbulence_v4/UCI.cpp:843:16: error: no matching function for call to 'max'
  843 |                                         maxTime = std::max(1LL, static_cast<int64_t>(btime * MAX_TIME_MULTIPLIER));
      |                                                   ^~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/algorithmfwd.h:407:5: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('long long' vs. 'int64_t' (aka 'long'))
  407 |     max(const _Tp&, const _Tp&);
      |     ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algo.h:5805:5: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'long long'
 5805 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algo.h:5795:5: note: candidate function template not viable: requires single argument '__l', but 2 arguments were provided
 5795 |     max(initializer_list<_Tp> __l)
      |     ^   ~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/algorithmfwd.h:412:5: note: candidate function template not viable: requires 3 arguments, but 2 were provided
  412 |     max(const _Tp&, const _Tp&, _Compare);
      |     ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Turbulence_v4/UCI.cpp:393:66: warning: unused parameter 'data_heap' [-Wunused-parameter]
  393 | void ProcessUCI(std::string input, ThreadData& data, ThreadData* data_heap)
      |                                                                  ^
Turbulence_v4/UCI.cpp:508:46: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
  508 |                         for (size_t j = 0; j < moveList.count; j++)
      |                                            ~ ^ ~~~~~~~~~~~~~~
Turbulence_v4/UCI.cpp:658:46: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
  658 |                         for (size_t j = 0; j < moveList.count; j++)
      |                                            ~ ^ ~~~~~~~~~~~~~~
Turbulence_v4/UCI.cpp:911:30: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
  911 |         for (size_t j = 0; j < moveList.count; j++)
      |                            ~ ^ ~~~~~~~~~~~~~~
7 warnings and 2 errors generated.
make: *** [Makefile:27: Turbulence-0E8DAE15-CF752F1C] Error 1