amchess / ShashChess

A try to implement Alexander Shashin's theory on a Stockfish's derived chess engine
GNU General Public License v3.0
131 stars 28 forks source link

Mac version 35.3 lose the ctg path in configuration #56

Open ArminHHJ opened 4 months ago

ArminHHJ commented 4 months ago

Describe the issue

Will use book stored in path /Users/armin/Documents/Meine Schach-Books/ENG 2024 v1-CTG/ENG 2024 v1.ctg in the Hiarcs Chess Explorer Pro (HCEpro). I fill the file in the config tab (copy path-name in finder and paste in config). After save and close the Engine-Menu in HCEpro and reopen it, the path is empty.

Expected behavior

ctg will not used

Steps to reproduce

Used the mac.zip from the git-download => empty path. Use a self compiled version => empty path.

Compile give warnings:

.... = false clang++ -Wall -Wcast-qual -fexceptions -std=c++17 -fprofile-instr-use=shashchess.profdata -DUSE_LIVEBOOK -pedantic -Wextra -Wshadow -Wmissing-prototypes -Wconditional-uninitialized -m64 -mmacosx-version-min=10.14 -arch arm64 -DUSE_PTHREADS -DNDEBUG -O3 -funroll-loops -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DUSE_POPCNT -DUSE_NEON=8 -march=armv8.2-a+dotprod -DUSE_NEON_DOTPROD -DARCH=apple-silicon -flto=full -c -o uci.o uci.cpp clang++ -Wall -Wcast-qual -fexceptions -std=c++17 -fprofile-instr-use=shashchess.profdata -DUSE_LIVEBOOK -pedantic -Wextra -Wshadow -Wmissing-prototypes -Wconditional-uninitialized -m64 -mmacosx-version-min=10.14 -arch arm64 -DUSE_PTHREADS -DNDEBUG -O3 -funroll-loops -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DUSE_POPCNT -DUSE_NEON=8 -march=armv8.2-a+dotprod -DUSE_NEON_DOTPROD -DARCH=apple-silicon -flto=full -c -o ucioption.o ucioption.cpp clang++ -Wall -Wcast-qual -fexceptions -std=c++17 -fprofile-instr-use=shashchess.profdata -DUSE_LIVEBOOK -pedantic -Wextra -Wshadow -Wmissing-prototypes -Wconditional-uninitialized -m64 -mmacosx-version-min=10.14 -arch arm64 -DUSE_PTHREADS -DNDEBUG -O3 -funroll-loops -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DUSE_POPCNT -DUSE_NEON=8 -march=armv8.2-a+dotprod -DUSE_NEON_DOTPROD -DARCH=apple-silicon -flto=full -c -o tune.o tune.cpp 7 warnings generated. clang++ -Wall -Wcast-qual -fexceptions -std=c++17 -fprofile-instr-use=shashchess.profdata -DUSE_LIVEBOOK -pedantic -Wextra -Wshadow -Wmissing-prototypes -Wconditional-uninitialized -m64 -mmacosx-version-min=10.14 -arch arm64 -DUSE_PTHREADS -DNDEBUG -O3 -funroll-loops -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DUSE_POPCNT -DUSE_NEON=8 -march=armv8.2-a+dotprod -DUSE_NEON_DOTPROD -DARCH=apple-silicon -flto=full -c -o tbprobe.o syzygy/tbprobe.cpp uci.cpp:114:15: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] false, [this](const Option& o) { LD.set_readonly(o); }); //From Kelly begin ^~~~ uci.cpp:125:46: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] [this](const Option& o) { ^~~~ uci.cpp:129:41: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] [this](const Option& o) { Search::setLiveBookURL(o); });
^~~~ uci.cpp:131:24: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 5000, 0, 10000, [this](const Option& o) { Search::setLiveBookTimeout(o); }); ^~~~ uci.cpp:136:21: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 255, 1, 255, [this](const Option& o) { Search::set_livebook_depth(o); }); ^~~~ clang++ -Wall -Wcast-qual -fexceptions -std=c++17 -fprofile-instr-use=shashchess.profdata -DUSE_LIVEBOOK -pedantic -Wextra -Wshadow -Wmissing-prototypes -Wconditional-uninitialized -m64 -mmacosx-version-min=10.14 -arch arm64 -DUSE_PTHREADS -DNDEBUG -O3 -funroll-loops -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DUSE_POPCNT -DUSE_NEON=8 -march=armv8.2-a+dotprod -DUSE_NEON_DOTPROD -DARCH=apple-silicon -flto=full -c -o learn.o learn/learn.cpp clang++ -Wall -Wcast-qual -fexceptions -std=c++17 -fprofile-instr-use=shashchess.profdata -DUSE_LIVEBOOK -pedantic -Wextra -Wshadow -Wmissing-prototypes -Wconditional-uninitialized -m64 -mmacosx-version-min=10.14 -arch arm64 -DUSE_PTHREADS -DNDEBUG -O3 -funroll-loops -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DUSE_POPCNT -DUSE_NEON=8 -march=armv8.2-a+dotprod -DUSE_NEON_DOTPROD -DARCH=apple-silicon -flto=full -c -o montecarlo.o mcts/montecarlo.cpp clang++ -Wall -Wcast-qual -fexceptions -std=c++17 -fprofile-instr-use=shashchess.profdata -DUSE_LIVEBOOK -pedantic -Wextra -Wshadow -Wmissing-prototypes -Wconditional-uninitialized -m64 -mmacosx-version-min=10.14 -arch arm64 -DUSE_PTHREADS -DNDEBUG -O3 -funroll-loops -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DUSE_POPCNT -DUSE_NEON=8 -march=armv8.2-a+dotprod -DUSE_NEON_DOTPROD -DARCH=apple-silicon -flto=full -c -o file_mapping.o book/file_mapping.cpp In file included from mcts/montecarlo.cpp:29: mcts/montecarlo.h:249:12: warning: private field 'max_epsilon' is not used [-Wunused-private-field] double max_epsilon = 0.99; ^ mcts/montecarlo.h:250:12: warning: private field 'min_epsilon' is not used [-Wunused-private-field] double min_epsilon = 0.00; ^ mcts/montecarlo.h:251:12: warning: private field 'decay_rate' is not used [-Wunused-private-field] double decay_rate = 0.8; ^ 5 warnings generated. clang++ -Wall -Wcast-qual -fexceptions -std=c++17 -fprofile-instr-use=shashchess.profdata -DUSE_LIVEBOOK -pedantic -Wextra -Wshadow -Wmissing-prototypes -Wconditional-uninitialized -m64 -mmacosx-version-min=10.14 -arch arm64 -DUSE_PTHREADS -DNDEBUG -O3 -funroll-loops -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DUSE_POPCNT -DUSE_NEON=8 -march=armv8.2-a+dotprod -DUSE_NEON_DOTPROD -DARCH=apple-silicon -flto=full -c -o book.o book/book.cpp 3 warnings generated. clang++ -Wall -Wcast-qual -fexceptions -std=c++17 -fprofile-instr-use=shashchess.profdata -DUSE_LIVEBOOK -pedantic -Wextra -Wshadow -Wmissing-prototypes -Wconditional-uninitialized -m64 -mmacosx-version-min=10.14 -arch arm64 -DUSE_PTHREADS -DNDEBUG -O3 -funroll-loops -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DUSE_POPCNT -DUSE_NEON=8 -march=armv8.2-a+dotprod -DUSE_NEON_DOTPROD -DARCH=apple-silicon -flto=full -c -o book_manager.o book/book_manager.cpp clang++ -Wall -Wcast-qual -fexceptions -std=c++17 -fprofile-instr-use=shashchess.profdata -DUSE_LIVEBOOK -pedantic -Wextra -Wshadow -Wmissing-prototypes -Wconditional-uninitialized -m64 -mmacosx-version-min=10.14 -arch arm64 -DUSE_PTHREADS -DNDEBUG -O3 -funroll-loops -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DUSE_POPCNT -DUSE_NEON=8 -march=armv8.2-a+dotprod -DUSE_NEON_DOTPROD -DARCH=apple-silicon -flto=full -c -o polyglot.o book/polyglot/polyglot.cpp clang++ -Wall -Wcast-qual -fexceptions -std=c++17 -fprofile-instr-use=shashchess.profdata -DUSE_LIVEBOOK -pedantic -Wextra -Wshadow -Wmissing-prototypes -Wconditional-uninitialized -m64 -mmacosx-version-min=10.14 -arch arm64 -DUSE_PTHREADS -DNDEBUG -O3 -funroll-loops -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DUSE_POPCNT -DUSE_NEON=8 -march=armv8.2-a+dotprod -DUSE_NEON_DOTPROD -DARCH=apple-silicon -flto=full -c -o ctg.o book/ctg/ctg.cpp clang++ -Wall -Wcast-qual -fexceptions -std=c++17 -fprofile-instr-use=shashchess.profdata -DUSE_LIVEBOOK -pedantic -Wextra -Wshadow -Wmissing-prototypes -Wconditional-uninitialized -m64 -mmacosx-version-min=10.14 -arch arm64 -DUSE_PTHREADS -DNDEBUG -O3 -funroll-loops -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DUSE_POPCNT -DUSE_NEON=8 -march=armv8.2-a+dotprod -DUSE_NEON_DOTPROD -DARCH=apple-silicon -flto=full -c -o evaluate_nnue.o nnue/evaluate_nnue.cpp clang++ -Wall -Wcast-qual -fexceptions -std=c++17 -fprofile-instr-use=shashchess.profdata -DUSE_LIVEBOOK -pedantic -Wextra -Wshadow -Wmissing-prototypes -Wconditional-uninitialized -m64 -mmacosx-version-min=10.14 -arch arm64 -DUSE_PTHREADS -DNDEBUG -O3 -funroll-loops -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DUSE_POPCNT -DUSE_NEON=8 -march=armv8.2-a+dotprod -DUSE_NEON_DOTPROD -DARCH=apple-silicon -flto=full -c -o half_ka_v2_hm.o nnue/features/half_ka_v2_hm.cpp book/ctg/ctg.cpp:28:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x00, 'P', 5, 1, 1, (unsigned char) 0x01, 'N', 2, -1, -2, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:28:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x00, 'P', 5, 1, 1, (unsigned char) 0x01, 'N', 2, -1, -2, ^~~~~~~~ { } book/ctg/ctg.cpp:29:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x03, 'Q', 2, 0, 2, (unsigned char) 0x04, 'P', 2, 1, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:29:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x03, 'Q', 2, 0, 2, (unsigned char) 0x04, 'P', 2, 1, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:30:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x05, 'Q', 1, 1, 0, (unsigned char) 0x06, 'P', 4, 1, -1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:30:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x05, 'Q', 1, 1, 0, (unsigned char) 0x06, 'P', 4, 1, -1, ^~~~~~~~ { } book/ctg/ctg.cpp:31:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x08, 'Q', 2, 0, 4, (unsigned char) 0x09, 'B', 2, 6, 6, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:31:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x08, 'Q', 2, 0, 4, (unsigned char) 0x09, 'B', 2, 6, 6, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:32:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x0A, 'K', 1, -1, 0, (unsigned char) 0x0C, 'P', 1, 1, -1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:32:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x0A, 'K', 1, -1, 0, (unsigned char) 0x0C, 'P', 1, 1, -1, ^~~~~~~~ { } book/ctg/ctg.cpp:33:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x0D, 'B', 1, 3, 3, (unsigned char) 0x0E, 'R', 2, 0, 3, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:33:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x0D, 'B', 1, 3, 3, (unsigned char) 0x0E, 'R', 2, 0, 3, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:34:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x0F, 'N', 1, -1, -2, (unsigned char) 0x12, 'B', 1, 7, 7, ^~~~~~~~ { } book/ctg/ctg.cpp:34:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x0F, 'N', 1, -1, -2, (unsigned char) 0x12, 'B', 1, 7, 7, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:35:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x13, 'K', 1, 1, 0, (unsigned char) 0x14, 'P', 8, 1, 1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:35:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x13, 'K', 1, 1, 0, (unsigned char) 0x14, 'P', 8, 1, 1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:36:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x15, 'B', 1, 5, 5, (unsigned char) 0x18, 'P', 7, 1, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:36:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x15, 'B', 1, 5, 5, (unsigned char) 0x18, 'P', 7, 1, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:37:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x1A, 'Q', 2, 6, 0, (unsigned char) 0x1B, 'B', 1, 1, -1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:37:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x1A, 'Q', 2, 6, 0, (unsigned char) 0x1B, 'B', 1, 1, -1, ^~~~~~~~ { } book/ctg/ctg.cpp:38:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x1D, 'B', 2, 7, 7, (unsigned char) 0x21, 'R', 2, 0, 7, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:38:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x1D, 'B', 2, 7, 7, (unsigned char) 0x21, 'R', 2, 0, 7, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:39:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x22, 'B', 2, 2, -2, (unsigned char) 0x23, 'Q', 2, 6, 6, ^~~~~~~~ { } book/ctg/ctg.cpp:39:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x22, 'B', 2, 2, -2, (unsigned char) 0x23, 'Q', 2, 6, 6, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:40:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x24, 'P', 8, 1, -1, (unsigned char) 0x26, 'B', 1, 7, -7, ^~~~~~~~ { } book/ctg/ctg.cpp:40:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x24, 'P', 8, 1, -1, (unsigned char) 0x26, 'B', 1, 7, -7, ^~~~~~~~ { } book/ctg/ctg.cpp:41:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x27, 'P', 3, 1, -1, (unsigned char) 0x28, 'Q', 1, 5, 5, ^~~~~~~~ { } book/ctg/ctg.cpp:41:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x27, 'P', 3, 1, -1, (unsigned char) 0x28, 'Q', 1, 5, 5, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:42:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x29, 'Q', 1, 0, 6, (unsigned char) 0x2A, 'N', 2, -2, 1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:42:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x29, 'Q', 1, 0, 6, (unsigned char) 0x2A, 'N', 2, -2, 1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:43:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x2D, 'P', 6, 1, 1, (unsigned char) 0x2E, 'B', 1, 1, 1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:43:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x2D, 'P', 6, 1, 1, (unsigned char) 0x2E, 'B', 1, 1, 1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:44:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x2F, 'Q', 1, 0, 1, (unsigned char) 0x30, 'N', 2, -2, -1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:44:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x2F, 'Q', 1, 0, 1, (unsigned char) 0x30, 'N', 2, -2, -1, ^~~~~~~~ { } book/ctg/ctg.cpp:45:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x31, 'Q', 1, 0, 3, (unsigned char) 0x32, 'B', 2, 5, 5, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:45:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x31, 'Q', 1, 0, 3, (unsigned char) 0x32, 'B', 2, 5, 5, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:46:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x34, 'N', 1, 2, 1, (unsigned char) 0x36, 'N', 1, 1, 2, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:46:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x34, 'N', 1, 2, 1, (unsigned char) 0x36, 'N', 1, 1, 2, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:47:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x37, 'Q', 1, 4, 0, (unsigned char) 0x38, 'Q', 2, 4, -4, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:47:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x37, 'Q', 1, 4, 0, (unsigned char) 0x38, 'Q', 2, 4, -4, ^~~~~~~~ { } book/ctg/ctg.cpp:48:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x39, 'Q', 1, 0, 5, (unsigned char) 0x3A, 'B', 1, 6, 6, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:48:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x39, 'Q', 1, 0, 5, (unsigned char) 0x3A, 'B', 1, 6, 6, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:49:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x3B, 'Q', 2, 5, -5, (unsigned char) 0x3C, 'B', 1, 5, -5, ^~~~~~~~ { } book/ctg/ctg.cpp:49:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x3B, 'Q', 2, 5, -5, (unsigned char) 0x3C, 'B', 1, 5, -5, ^~~~~~~~ { } book/ctg/ctg.cpp:50:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x41, 'Q', 2, 5, 5, (unsigned char) 0x42, 'Q', 1, 7, -7, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:50:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x41, 'Q', 2, 5, 5, (unsigned char) 0x42, 'Q', 1, 7, -7, ^~~~~~~~ { } book/ctg/ctg.cpp:51:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x44, 'K', 1, -1, 1, (unsigned char) 0x45, 'Q', 1, 3, 3, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:51:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x44, 'K', 1, -1, 1, (unsigned char) 0x45, 'Q', 1, 3, 3, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:52:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x4A, 'P', 8, 2, 0, (unsigned char) 0x4B, 'Q', 1, 5, -5, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:52:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x4A, 'P', 8, 2, 0, (unsigned char) 0x4B, 'Q', 1, 5, -5, ^~~~~~~~ { } book/ctg/ctg.cpp:53:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x4C, 'N', 2, 2, 1, (unsigned char) 0x4D, 'Q', 2, 1, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:53:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x4C, 'N', 2, 2, 1, (unsigned char) 0x4D, 'Q', 2, 1, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:54:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x50, 'R', 1, 6, 0, (unsigned char) 0x52, 'R', 1, 0, 6, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:54:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x50, 'R', 1, 6, 0, (unsigned char) 0x52, 'R', 1, 0, 6, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:55:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x54, 'B', 2, 1, -1, (unsigned char) 0x55, 'P', 3, 1, 0, ^~~~~~~~ { } book/ctg/ctg.cpp:55:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x54, 'B', 2, 1, -1, (unsigned char) 0x55, 'P', 3, 1, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:56:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x5C, 'P', 7, 1, 1, (unsigned char) 0x5F, 'P', 5, 2, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:56:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x5C, 'P', 7, 1, 1, (unsigned char) 0x5F, 'P', 5, 2, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:57:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x61, 'Q', 1, 6, 6, (unsigned char) 0x62, 'P', 2, 2, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:57:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x61, 'Q', 1, 6, 6, (unsigned char) 0x62, 'P', 2, 2, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:58:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x63, 'Q', 2, 7, -7, (unsigned char) 0x66, 'B', 1, 3, -3, ^~~~~~~~ { } book/ctg/ctg.cpp:58:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x63, 'Q', 2, 7, -7, (unsigned char) 0x66, 'B', 1, 3, -3, ^~~~~~~~ { } book/ctg/ctg.cpp:59:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x67, 'K', 1, 1, 1, (unsigned char) 0x69, 'R', 2, 7, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:59:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x67, 'K', 1, 1, 1, (unsigned char) 0x69, 'R', 2, 7, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:60:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x6A, 'B', 1, 4, 4, (unsigned char) 0x6B, 'K', 1, 0, 2, / short castling / ^~~~~~~~~~~ { } book/ctg/ctg.cpp:60:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x6A, 'B', 1, 4, 4, (unsigned char) 0x6B, 'K', 1, 0, 2, / short castling / ^~~~~~~~~~~ { } book/ctg/ctg.cpp:61:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x6E, 'R', 1, 0, 5, (unsigned char) 0x6F, 'Q', 2, 7, 7, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:61:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x6E, 'R', 1, 0, 5, (unsigned char) 0x6F, 'Q', 2, 7, 7, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:62:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x72, 'B', 2, 7, -7, (unsigned char) 0x74, 'Q', 1, 0, 2, ^~~~~~~~ { } book/ctg/ctg.cpp:62:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x72, 'B', 2, 7, -7, (unsigned char) 0x74, 'Q', 1, 0, 2, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:63:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x79, 'B', 2, 6, -6, (unsigned char) 0x7A, 'R', 1, 3, 0, ^~~~~~~~ { } book/ctg/ctg.cpp:63:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x79, 'B', 2, 6, -6, (unsigned char) 0x7A, 'R', 1, 3, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:64:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x7B, 'R', 2, 6, 0, (unsigned char) 0x7C, 'P', 3, 1, 1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:64:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x7B, 'R', 2, 6, 0, (unsigned char) 0x7C, 'P', 3, 1, 1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:65:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x7D, 'R', 2, 1, 0, (unsigned char) 0x7E, 'Q', 1, 3, -3, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:65:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x7D, 'R', 2, 1, 0, (unsigned char) 0x7E, 'Q', 1, 3, -3, ^~~~~~~~ { } book/ctg/ctg.cpp:66:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x7F, 'R', 1, 0, 1, (unsigned char) 0x80, 'Q', 1, 6, -6, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:66:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x7F, 'R', 1, 0, 1, (unsigned char) 0x80, 'Q', 1, 6, -6, ^~~~~~~~ { } book/ctg/ctg.cpp:67:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x81, 'R', 1, 1, 0, (unsigned char) 0x82, 'P', 6, 1, -1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:67:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x81, 'R', 1, 1, 0, (unsigned char) 0x82, 'P', 6, 1, -1, ^~~~~~~~ { } book/ctg/ctg.cpp:68:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x85, 'N', 1, 2, -1, (unsigned char) 0x86, 'R', 1, 0, 7, ^~~~~~~~ { } book/ctg/ctg.cpp:68:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x85, 'N', 1, 2, -1, (unsigned char) 0x86, 'R', 1, 0, 7, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:69:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x87, 'R', 1, 5, 0, (unsigned char) 0x8A, 'N', 1, -2, 1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:69:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x87, 'R', 1, 5, 0, (unsigned char) 0x8A, 'N', 1, -2, 1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:70:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x8B, 'P', 1, 1, 1, (unsigned char) 0x8C, 'K', 1, -1, -1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:70:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x8B, 'P', 1, 1, 1, (unsigned char) 0x8C, 'K', 1, -1, -1, ^~~~~~~~ { } book/ctg/ctg.cpp:71:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x8E, 'Q', 2, 2, -2, (unsigned char) 0x8F, 'Q', 1, 0, 7, ^~~~~~~~ { } book/ctg/ctg.cpp:71:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x8E, 'Q', 2, 2, -2, (unsigned char) 0x8F, 'Q', 1, 0, 7, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:72:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x92, 'Q', 2, 1, 1, (unsigned char) 0x94, 'Q', 1, 3, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:72:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x92, 'Q', 2, 1, 1, (unsigned char) 0x94, 'Q', 1, 3, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:73:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x96, 'P', 2, 1, 1, (unsigned char) 0x97, 'K', 1, 0, -1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:73:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x96, 'P', 2, 1, 1, (unsigned char) 0x97, 'K', 1, 0, -1, ^~~~~~~~ { } book/ctg/ctg.cpp:74:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x98, 'R', 1, 0, 3, (unsigned char) 0x99, 'R', 1, 4, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:74:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x98, 'R', 1, 0, 3, (unsigned char) 0x99, 'R', 1, 4, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:75:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x9A, 'Q', 1, 6, 0, (unsigned char) 0x9B, 'P', 3, 2, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:75:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x9A, 'Q', 1, 6, 0, (unsigned char) 0x9B, 'P', 3, 2, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:76:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x9D, 'Q', 1, 2, 0, (unsigned char) 0x9F, 'B', 2, 4, -4, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:76:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0x9D, 'Q', 1, 2, 0, (unsigned char) 0x9F, 'B', 2, 4, -4, ^~~~~~~~ { } book/ctg/ctg.cpp:77:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xA0, 'Q', 2, 3, 0, (unsigned char) 0xA2, 'Q', 1, 2, 2, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:77:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xA0, 'Q', 2, 3, 0, (unsigned char) 0xA2, 'Q', 1, 2, 2, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:78:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xA3, 'P', 8, 1, 0, (unsigned char) 0xA5, 'R', 2, 5, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:78:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xA3, 'P', 8, 1, 0, (unsigned char) 0xA5, 'R', 2, 5, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:79:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xA9, 'R', 2, 0, 2, (unsigned char) 0xAB, 'Q', 2, 6, -6, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:79:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xA9, 'R', 2, 0, 2, (unsigned char) 0xAB, 'Q', 2, 6, -6, ^~~~~~~~ { } book/ctg/ctg.cpp:80:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xAD, 'R', 2, 0, 4, (unsigned char) 0xAE, 'Q', 2, 3, 3, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:80:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xAD, 'R', 2, 0, 4, (unsigned char) 0xAE, 'Q', 2, 3, 3, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:81:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xB0, 'Q', 2, 4, 0, (unsigned char) 0xB1, 'P', 6, 2, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:81:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xB0, 'Q', 2, 4, 0, (unsigned char) 0xB1, 'P', 6, 2, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:82:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xB2, 'B', 1, 6, -6, (unsigned char) 0xB5, 'R', 2, 0, 5, ^~~~~~~~ { } book/ctg/ctg.cpp:82:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xB2, 'B', 1, 6, -6, (unsigned char) 0xB5, 'R', 2, 0, 5, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:83:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xB7, 'Q', 1, 5, 0, (unsigned char) 0xB9, 'B', 2, 3, 3, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:83:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xB7, 'Q', 1, 5, 0, (unsigned char) 0xB9, 'B', 2, 3, 3, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:84:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xBB, 'P', 5, 1, 0, (unsigned char) 0xBC, 'Q', 2, 0, 5, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:84:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xBB, 'P', 5, 1, 0, (unsigned char) 0xBC, 'Q', 2, 0, 5, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:85:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xBD, 'Q', 2, 2, 0, (unsigned char) 0xBE, 'K', 1, 0, 1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:85:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xBD, 'Q', 2, 2, 0, (unsigned char) 0xBE, 'K', 1, 0, 1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:86:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xC1, 'B', 1, 2, 2, (unsigned char) 0xC2, 'B', 2, 2, 2, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:86:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xC1, 'B', 1, 2, 2, (unsigned char) 0xC2, 'B', 2, 2, 2, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:87:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xC3, 'B', 1, 2, -2, (unsigned char) 0xC4, 'R', 2, 0, 1, ^~~~~~~~ { } book/ctg/ctg.cpp:87:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xC3, 'B', 1, 2, -2, (unsigned char) 0xC4, 'R', 2, 0, 1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:88:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xC5, 'R', 2, 4, 0, (unsigned char) 0xC6, 'Q', 2, 5, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:88:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xC5, 'R', 2, 4, 0, (unsigned char) 0xC6, 'Q', 2, 5, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:89:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xC7, 'P', 7, 1, -1, (unsigned char) 0xC8, 'P', 7, 2, 0, ^~~~~~~~ { } book/ctg/ctg.cpp:89:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xC7, 'P', 7, 1, -1, (unsigned char) 0xC8, 'P', 7, 2, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:90:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xC9, 'Q', 2, 7, 0, (unsigned char) 0xCA, 'B', 2, 3, -3, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:90:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xC9, 'Q', 2, 7, 0, (unsigned char) 0xCA, 'B', 2, 3, -3, ^~~~~~~~ { } book/ctg/ctg.cpp:91:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xCB, 'P', 6, 1, 0, (unsigned char) 0xCC, 'B', 2, 5, -5, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:91:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xCB, 'P', 6, 1, 0, (unsigned char) 0xCC, 'B', 2, 5, -5, ^~~~~~~~ { } book/ctg/ctg.cpp:92:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xCD, 'R', 1, 0, 2, (unsigned char) 0xCF, 'P', 4, 1, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:92:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xCD, 'R', 1, 0, 2, (unsigned char) 0xCF, 'P', 4, 1, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:93:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xD1, 'P', 2, 1, -1, (unsigned char) 0xD2, 'N', 2, 1, 2, ^~~~~~~~ { } book/ctg/ctg.cpp:93:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xD1, 'P', 2, 1, -1, (unsigned char) 0xD2, 'N', 2, 1, 2, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:94:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xD3, 'N', 2, 1, -2, (unsigned char) 0xD7, 'Q', 1, 1, -1, ^~~~~~~~ { } book/ctg/ctg.cpp:94:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xD3, 'N', 2, 1, -2, (unsigned char) 0xD7, 'Q', 1, 1, -1, ^~~~~~~~ { } book/ctg/ctg.cpp:95:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xD8, 'R', 2, 0, 6, (unsigned char) 0xD9, 'Q', 1, 2, -2, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:95:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xD8, 'R', 2, 0, 6, (unsigned char) 0xD9, 'Q', 1, 2, -2, ^~~~~~~~ { } book/ctg/ctg.cpp:96:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xDA, 'N', 1, -2, -1, (unsigned char) 0xDB, 'P', 1, 2, 0, ^~~~~~~~ { } book/ctg/ctg.cpp:96:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xDA, 'N', 1, -2, -1, (unsigned char) 0xDB, 'P', 1, 2, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:97:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xDE, 'P', 5, 1, -1, (unsigned char) 0xDF, 'K', 1, 1, -1, ^~~~~~~~ { } book/ctg/ctg.cpp:97:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xDE, 'P', 5, 1, -1, (unsigned char) 0xDF, 'K', 1, 1, -1, ^~~~~~~~ { } book/ctg/ctg.cpp:98:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xE0, 'N', 2, -1, 2, (unsigned char) 0xE1, 'R', 1, 7, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:98:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xE0, 'N', 2, -1, 2, (unsigned char) 0xE1, 'R', 1, 7, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:99:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xE3, 'R', 2, 3, 0, (unsigned char) 0xE5, 'Q', 1, 0, 4, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:99:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xE3, 'R', 2, 3, 0, (unsigned char) 0xE5, 'Q', 1, 0, 4, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:100:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xE6, 'P', 4, 2, 0, (unsigned char) 0xE7, 'Q', 1, 4, 4, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:100:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xE6, 'P', 4, 2, 0, (unsigned char) 0xE7, 'Q', 1, 4, 4, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:101:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xE8, 'R', 1, 2, 0, (unsigned char) 0xE9, 'N', 1, -1, 2, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:101:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xE8, 'R', 1, 2, 0, (unsigned char) 0xE9, 'N', 1, -1, 2, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:102:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xEB, 'P', 4, 1, 1, (unsigned char) 0xEC, 'P', 1, 1, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:102:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xEB, 'P', 4, 1, 1, (unsigned char) 0xEC, 'P', 1, 1, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:103:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xED, 'Q', 1, 7, 7, (unsigned char) 0xEE, 'Q', 2, 1, -1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:103:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xED, 'Q', 1, 7, 7, (unsigned char) 0xEE, 'Q', 2, 1, -1, ^~~~~~~~ { } book/ctg/ctg.cpp:104:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xEF, 'R', 1, 0, 4, (unsigned char) 0xF0, 'Q', 2, 0, 7, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:104:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xEF, 'R', 1, 0, 4, (unsigned char) 0xF0, 'Q', 2, 0, 7, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:105:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xF1, 'Q', 1, 1, 1, (unsigned char) 0xF3, 'N', 2, 2, -1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:105:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xF1, 'Q', 1, 1, 1, (unsigned char) 0xF3, 'N', 2, 2, -1, ^~~~~~~~ { } book/ctg/ctg.cpp:106:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xF4, 'R', 2, 2, 0, (unsigned char) 0xF5, 'B', 2, 1, 1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:106:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xF4, 'R', 2, 2, 0, (unsigned char) 0xF5, 'B', 2, 1, 1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:107:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xF6, 'K', 1, 0, -2, / long castling / ^~~~~~~~ { } book/ctg/ctg.cpp:108:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xF7, 'N', 1, 1, -2, (unsigned char) 0xF8, 'Q', 2, 0, 1, ^~~~~~~~ { } book/ctg/ctg.cpp:108:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xF7, 'N', 1, 1, -2, (unsigned char) 0xF8, 'Q', 2, 0, 1, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:109:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xF9, 'Q', 2, 6, 0, (unsigned char) 0xFA, 'Q', 2, 0, 3, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:109:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xF9, 'Q', 2, 6, 0, (unsigned char) 0xFA, 'Q', 2, 0, 3, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:110:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xFB, 'Q', 2, 2, 2, (unsigned char) 0xFD, 'Q', 1, 7, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:110:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xFB, 'Q', 2, 2, 2, (unsigned char) 0xFD, 'Q', 1, 7, 0, ^~~~~~~~~~~ { } book/ctg/ctg.cpp:111:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] (unsigned char) 0xFE, 'Q', 2, 3, -3}; ^~~~~~~~ { } 166 warnings generated.

Anything else?

No response

Operating system

MacOS

ShashChess version

Shashcess 35.3

amchess commented 4 months ago

I don't have those warnings in linux and don't have a mac. Have you tried the attached version?

ArminHHJ commented 4 months ago

Yes, I have used the attached version, same problem.

ArminHHJ commented 4 months ago

I installed Banksia GUI for crosscheck. No problem with loose config. After contact with HCE developer, there is a bug in HCEpro GUI. The warnings by compiling seem not a problem.