clang++ -O3 -std=c++20 -Wall -Wextra -march=native -flto -fuse-ld=lld  -DEVALFILE=\"/home/ksw0518/OpenBench/Client/Networks/2D8561AB\" Turbulence_v4/Bench.cpp Turbulence_v4/BitManipulation.cpp Turbulence_v4/Board.cpp Turbulence_v4/Datagen.cpp Turbulence_v4/Evaluation.cpp Turbulence_v4/History.cpp Turbulence_v4/MoveGeneration.cpp Turbulence_v4/Search.cpp Turbulence_v4/UCI.cpp -o Turbulence-C9ED7353-2D8561AB
Turbulence_v4/Bench.cpp:73:3: error: use of undeclared identifier 'memset'; did you mean 'wmemset'?
   73 |                 memset(data.mainHistory, 0, sizeof(data.mainHistory));
      |                 ^~~~~~
      |                 wmemset
/usr/include/wchar.h:296:17: note: 'wmemset' declared here
  296 | extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __THROW;
      |                 ^
Turbulence_v4/Bench.cpp:73:10: error: cannot initialize a parameter of type 'wchar_t *' with an lvalue of type 'int[2][64][64][2][2]'
   73 |                 memset(data.mainHistory, 0, sizeof(data.mainHistory));
      |                        ^~~~~~~~~~~~~~~~
/usr/include/wchar.h:296:35: note: passing argument to parameter '__s' here
  296 | extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __THROW;
      |                                   ^
Turbulence_v4/Bench.cpp:78:3: error: use of undeclared identifier 'memset'; did you mean 'wmemset'?
   78 |                 memset(data.onePlyContHist, 0, sizeof(data.onePlyContHist));
      |                 ^~~~~~
      |                 wmemset
/usr/include/wchar.h:296:17: note: 'wmemset' declared here
  296 | extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __THROW;
      |                 ^
Turbulence_v4/Bench.cpp:78:10: error: cannot initialize a parameter of type 'wchar_t *' with an lvalue of type 'int[12][64][12][64]'
   78 |                 memset(data.onePlyContHist, 0, sizeof(data.onePlyContHist));
      |                        ^~~~~~~~~~~~~~~~~~~
/usr/include/wchar.h:296:35: note: passing argument to parameter '__s' here
  296 | extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __THROW;
      |                                   ^
Turbulence_v4/Bench.cpp:79:3: error: use of undeclared identifier 'memset'; did you mean 'wmemset'?
   79 |                 memset(data.twoPlyContHist, 0, sizeof(data.twoPlyContHist));
      |                 ^~~~~~
      |                 wmemset
/usr/include/wchar.h:296:17: note: 'wmemset' declared here
  296 | extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __THROW;
      |                 ^
Turbulence_v4/Bench.cpp:79:10: error: cannot initialize a parameter of type 'wchar_t *' with an lvalue of type 'int[12][64][12][64]'
   79 |                 memset(data.twoPlyContHist, 0, sizeof(data.twoPlyContHist));
      |                        ^~~~~~~~~~~~~~~~~~~
/usr/include/wchar.h:296:35: note: passing argument to parameter '__s' here
  296 | extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __THROW;
      |                                   ^
Turbulence_v4/Bench.cpp:80:3: error: use of undeclared identifier 'memset'; did you mean 'wmemset'?
   80 |                 memset(data.CaptureHistory, 0, sizeof(data.CaptureHistory));
      |                 ^~~~~~
      |                 wmemset
/usr/include/wchar.h:296:17: note: 'wmemset' declared here
  296 | extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __THROW;
      |                 ^
Turbulence_v4/Bench.cpp:80:10: error: cannot initialize a parameter of type 'wchar_t *' with an lvalue of type 'int[12][64][12]'
   80 |                 memset(data.CaptureHistory, 0, sizeof(data.CaptureHistory));
      |                        ^~~~~~~~~~~~~~~~~~~
/usr/include/wchar.h:296:35: note: passing argument to parameter '__s' here
  296 | extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __THROW;
      |                                   ^
Turbulence_v4/Bench.cpp:81:3: error: use of undeclared identifier 'memset'; did you mean 'wmemset'?
   81 |                 memset(data.pawnCorrHist, 0, sizeof(data.pawnCorrHist));
      |                 ^~~~~~
      |                 wmemset
/usr/include/wchar.h:296:17: note: 'wmemset' declared here
  296 | extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __THROW;
      |                 ^
Turbulence_v4/Bench.cpp:81:10: error: cannot initialize a parameter of type 'wchar_t *' with an lvalue of type 'int[2][16384]'
   81 |                 memset(data.pawnCorrHist, 0, sizeof(data.pawnCorrHist));
      |                        ^~~~~~~~~~~~~~~~~
/usr/include/wchar.h:296:35: note: passing argument to parameter '__s' here
  296 | extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __THROW;
      |                                   ^
Turbulence_v4/Bench.cpp:82:3: error: use of undeclared identifier 'memset'; did you mean 'wmemset'?
   82 |                 memset(data.minorCorrHist, 0, sizeof(data.minorCorrHist));
      |                 ^~~~~~
      |                 wmemset
/usr/include/wchar.h:296:17: note: 'wmemset' declared here
  296 | extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __THROW;
      |                 ^
Turbulence_v4/Bench.cpp:82:10: error: cannot initialize a parameter of type 'wchar_t *' with an lvalue of type 'int[2][16384]'
   82 |                 memset(data.minorCorrHist, 0, sizeof(data.minorCorrHist));
      |                        ^~~~~~~~~~~~~~~~~~
/usr/include/wchar.h:296:35: note: passing argument to parameter '__s' here
  296 | extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __THROW;
      |                                   ^
Turbulence_v4/Bench.cpp:83:3: error: use of undeclared identifier 'memset'; did you mean 'wmemset'?
   83 |                 memset(data.counterMoveCorrHist, 0, sizeof(data.counterMoveCorrHist));
      |                 ^~~~~~
      |                 wmemset
/usr/include/wchar.h:296:17: note: 'wmemset' declared here
  296 | extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __THROW;
      |                 ^
Turbulence_v4/Bench.cpp:83:10: error: cannot initialize a parameter of type 'wchar_t *' with an lvalue of type 'int[12][64]'
   83 |                 memset(data.counterMoveCorrHist, 0, sizeof(data.counterMoveCorrHist));
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wchar.h:296:35: note: passing argument to parameter '__s' here
  296 | extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __THROW;
      |                                   ^
Turbulence_v4/Bench.cpp:96:27: error: no member named 'floor' in namespace 'std'
   96 |                 totalsearchtime += std::floor(elapsedMS);
      |                                    ~~~~~^
Turbulence_v4/Bench.cpp:103:2: error: use of undeclared identifier 'memset'; did you mean 'wmemset'?
  103 |         memset(data.mainHistory, 0, sizeof(data.mainHistory));
      |         ^~~~~~
      |         wmemset
/usr/include/wchar.h:296:17: note: 'wmemset' declared here
  296 | extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __THROW;
      |                 ^
Turbulence_v4/Bench.cpp:103:9: error: cannot initialize a parameter of type 'wchar_t *' with an lvalue of type 'int[2][64][64][2][2]'
  103 |         memset(data.mainHistory, 0, sizeof(data.mainHistory));
      |                ^~~~~~~~~~~~~~~~
/usr/include/wchar.h:296:35: note: passing argument to parameter '__s' here
  296 | extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __THROW;
      |                                   ^
Turbulence_v4/Bench.cpp:108:2: error: use of undeclared identifier 'memset'; did you mean 'wmemset'?
  108 |         memset(data.onePlyContHist, 0, sizeof(data.onePlyContHist));
      |         ^~~~~~
      |         wmemset
/usr/include/wchar.h:296:17: note: 'wmemset' declared here
  296 | extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __THROW;
      |                 ^
Turbulence_v4/Bench.cpp:108:9: error: cannot initialize a parameter of type 'wchar_t *' with an lvalue of type 'int[12][64][12][64]'
  108 |         memset(data.onePlyContHist, 0, sizeof(data.onePlyContHist));
      |                ^~~~~~~~~~~~~~~~~~~
/usr/include/wchar.h:296:35: note: passing argument to parameter '__s' here
  296 | extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __THROW;
      |                                   ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Turbulence_v4/Board.cpp:297:16: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]
  297 |         if (index + 2 >= fen.length())
      |             ~~~~~~~~~ ^  ~~~~~~~~~~~~
Turbulence_v4/Board.cpp:360:9: warning: variable 'num' set but not used [-Wunused-but-set-variable]
  360 |     int num = 0;
      |         ^
2 warnings generated.
Turbulence_v4/Datagen.cpp:508:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]
  508 |                 for (int i = 0; i < gameData.size(); i++)
      |                                 ~ ^ ~~~~~~~~~~~~~~~
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:599:61: warning: comparison of integers of different signs: 'int64_t' (aka 'long') and 'uint64_t' (aka 'unsigned long') [-Wsign-compare]
  599 |         if (elapsedMS > data.Searchtime_MS || data.searchNodeCount > hardNodeBound || stop_signal)
      |                                               ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
Turbulence_v4/Search.cpp:761:61: warning: comparison of integers of different signs: 'int64_t' (aka 'long') and 'uint64_t' (aka 'unsigned long') [-Wsign-compare]
  761 |         if (elapsedMS > data.Searchtime_MS || data.searchNodeCount > hardNodeBound || stop_signal) {
      |                                               ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
Turbulence_v4/Search.cpp:1421:22: warning: unused parameter 'PV_line' [-Wunused-parameter]
 1421 | void print_UCI(Move(&PV_line)[99][99], Move& bestmove, int score, float elapsedMS, float nps, ThreadData& data)
      |                      ^
Turbulence_v4/Search.cpp:1451:25: warning: unused parameter 'PV_line' [-Wunused-parameter]
 1451 | 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:1451:102: warning: unused parameter 'window_change' [-Wunused-parameter]
 1451 | 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:1451:121: warning: unused parameter 'asp_alpha' [-Wunused-parameter]
 1451 | 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:1451:136: warning: unused parameter 'asp_beta' [-Wunused-parameter]
 1451 | 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)
      |                                                                                                                                        ^
7 warnings generated.
Turbulence_v4/UCI.cpp:350:48: warning: unused parameter 'incre' [-Wunused-parameter]
  350 | int Calculate_Hard_Bound(int64_t time, int64_t incre)
      |                                                ^
Turbulence_v4/UCI.cpp:798:18: warning: unused variable 'start' [-Wunused-variable]
  798 |             auto start = std::chrono::high_resolution_clock::now();
      |                  ^~~~~
Turbulence_v4/UCI.cpp:801:18: warning: unused variable 'end' [-Wunused-variable]
  801 |             auto end = std::chrono::high_resolution_clock::now();
      |                  ^~~
Turbulence_v4/UCI.cpp:402:66: warning: unused parameter 'data_heap' [-Wunused-parameter]
  402 | void ProcessUCI(std::string input, ThreadData& data, ThreadData* data_heap)
      |                                                                  ^
Turbulence_v4/UCI.cpp:528:46: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
  528 |                         for (size_t j = 0; j < moveList.count; j++)
      |                                            ~ ^ ~~~~~~~~~~~~~~
Turbulence_v4/UCI.cpp:678:46: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
  678 |                         for (size_t j = 0; j < moveList.count; j++)
      |                                            ~ ^ ~~~~~~~~~~~~~~
Turbulence_v4/UCI.cpp:994:30: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
  994 |         for (size_t j = 0; j < moveList.count; j++)
      |                            ~ ^ ~~~~~~~~~~~~~~
7 warnings generated.
make: *** [Makefile:27: Turbulence-C9ED7353-2D8561AB] Error 1