Building SeaJay for OpenBench...
Compiler: g++
Output: SeaJay-BF9830FB
# Configure with CMake (only build engine, not tests)
cmake -S . -B openbench-build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_COMPILER=g++ \
-DCMAKE_CXX_FLAGS="-O3 -DNDEBUG -march=native -flto" \
-DEVALFILE="" \
-DBUILD_TESTING=OFF
-- The CXX compiler identification is GNU 13.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (0.4s)
-- Generating done (0.0s)
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_TESTING
EVALFILE
-- Build files have been written to: /tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/openbench-build
# Build ONLY the engine binary (not tests or utilities)
make -C openbench-build -j seajay
make[1]: Entering directory '/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/openbench-build'
make[2]: Entering directory '/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/openbench-build'
make[3]: Entering directory '/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/openbench-build'
make[4]: Entering directory '/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/openbench-build'
make[4]: Leaving directory '/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/openbench-build'
make[4]: Entering directory '/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/openbench-build'
[ 3%] Building CXX object CMakeFiles/seajay_core.dir/src/core/board.cpp.o
[ 6%] Building CXX object CMakeFiles/seajay_core.dir/src/core/attack_cache.cpp.o
[ 9%] Building CXX object CMakeFiles/seajay_core.dir/src/evaluation/evaluate.cpp.o
[ 12%] Building CXX object CMakeFiles/seajay_core.dir/src/core/move_list.cpp.o
[ 15%] Building CXX object CMakeFiles/seajay_core.dir/src/core/board_safety.cpp.o
[ 25%] Building CXX object CMakeFiles/seajay_core.dir/src/core/see.cpp.o
[ 21%] Building CXX object CMakeFiles/seajay_core.dir/src/core/perft.cpp.o
[ 25%] Building CXX object CMakeFiles/seajay_core.dir/src/core/transposition_table.cpp.o
[ 28%] Building CXX object CMakeFiles/seajay_core.dir/src/core/move_generation.cpp.o
[ 34%] Building CXX object CMakeFiles/seajay_core.dir/src/evaluation/pst.cpp.o
[ 34%] Building CXX object CMakeFiles/seajay_core.dir/src/search/search.cpp.o
[ 37%] Building CXX object CMakeFiles/seajay_core.dir/src/evaluation/pawn_structure.cpp.o
[ 43%] Building CXX object CMakeFiles/seajay_core.dir/src/search/killer_moves.cpp.o
[ 43%] Building CXX object CMakeFiles/seajay_core.dir/src/evaluation/king_safety.cpp.o
[ 46%] Building CXX object CMakeFiles/seajay_core.dir/src/search/countermoves.cpp.o
[ 53%] Building CXX object CMakeFiles/seajay_core.dir/src/search/history_heuristic.cpp.o
[ 53%] Building CXX object CMakeFiles/seajay_core.dir/src/search/ranked_move_picker.cpp.o
[ 56%] Building CXX object CMakeFiles/seajay_core.dir/src/search/time_management.cpp.o
[ 59%] Building CXX object CMakeFiles/seajay_core.dir/src/search/aspiration_window.cpp.o
[ 65%] Building CXX object CMakeFiles/seajay_core.dir/src/search/negamax.cpp.o
[ 65%] Building CXX object CMakeFiles/seajay_core.dir/src/search/move_ordering.cpp.o
[ 68%] Building CXX object CMakeFiles/seajay_core.dir/src/search/quiescence.cpp.o
[ 71%] Building CXX object CMakeFiles/seajay_core.dir/src/search/search_scratch.cpp.o
[ 75%] Building CXX object CMakeFiles/seajay_core.dir/src/search/lmr.cpp.o
[ 78%] Building CXX object CMakeFiles/seajay_core.dir/src/search/node_explosion_stats.cpp.o
[ 81%] Building CXX object CMakeFiles/seajay_core.dir/src/search/quiescence_performance.cpp.o
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/core/transposition_table.cpp: In member function ‘void seajay::TranspositionTable::store(seajay::Hash, seajay::Move, int16_t, int16_t, uint8_t, seajay::Bound)’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/core/transposition_table.cpp:153:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
153 | for (int i = 0; i < CLUSTER_SIZE; ++i) {
| ~~^~~~~~~~~~~~~~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/core/board_safety.cpp: In static member function ‘static seajay::ZobristKeyManager::ZobristUpdate seajay::ZobristKeyManager::buildUpdate(const seajay::Board&, seajay::Move)’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/core/board_safety.cpp:445:19: warning: unused variable ‘promotedType’ [-Wunused-variable]
445 | PieceType promotedType = promotionType(move);
| ^~~~~~~~~~~~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/core/board_safety.cpp:455:16: warning: unused variable ‘capturedSquare’ [-Wunused-variable]
455 | Square capturedSquare = (us == WHITE) ? to - 8 : to + 8;
| ^~~~~~~~~~~~~~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/core/board_safety.cpp: In static member function ‘static bool seajay::MoveSequenceValidator::checkForDoubleMoves(const seajay::Move*, size_t)’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/core/board_safety.cpp:563:16: warning: unused variable ‘prevTo’ [-Wunused-variable]
563 | Square prevTo = moveTo(moves[i-1]);
| ^~~~~~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/core/board_safety.cpp:564:16: warning: unused variable ‘currFrom’ [-Wunused-variable]
564 | Square currFrom = moveFrom(moves[i]);
| ^~~~~~~~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/core/see.cpp: In member function ‘seajay::Bitboard seajay::SEECalculator::getXrayAttackers(const seajay::Board&, seajay::Square, seajay::Bitboard, seajay::Bitboard) const’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/core/see.cpp:235:12: warning: unused variable ‘removedSq’ [-Wunused-variable]
235 | Square removedSq = lsb(removedPiece);
| ^~~~~~~~~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/core/see.cpp: In member function ‘seajay::SEEValue seajay::SEECalculator::computeSEE(const seajay::Board&, seajay::Square, seajay::Color, seajay::Bitboard, seajay::Bitboard) const’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/core/see.cpp:594:16: warning: unused variable ‘attackerSquare’ [-Wunused-variable]
594 | Square attackerSquare = lsb(attackerBB);
| ^~~~~~~~~~~~~~
In file included from /tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/evaluation/pawn_structure.cpp:4:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/evaluation/../core/simd_utils.h: In function ‘uint64_t seajay::simd::getIsolatedPawnsFast(uint64_t)’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/evaluation/../core/simd_utils.h:118:24: warning: unused variable ‘NOT_FILE_A’ [-Wunused-variable]
118 | constexpr uint64_t NOT_FILE_A = ~FILE_A;
| ^~~~~~~~~~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/evaluation/../core/simd_utils.h:119:24: warning: unused variable ‘NOT_FILE_H’ [-Wunused-variable]
119 | constexpr uint64_t NOT_FILE_H = ~FILE_H;
| ^~~~~~~~~~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/evaluation/../core/simd_utils.h: In function ‘uint64_t seajay::simd::getBackwardPawnsFast(uint64_t, uint64_t, bool, uint64_t)’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/evaluation/../core/simd_utils.h:216:22: warning: unused variable ‘leftFile’ [-Wunused-variable]
216 | uint64_t leftFile = FILE_A << (file - 1);
| ^~~~~~~~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/evaluation/../core/simd_utils.h:189:24: warning: unused variable ‘FILE_H’ [-Wunused-variable]
189 | constexpr uint64_t FILE_H = 0x8080808080808080ULL;
| ^~~~~~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/evaluation/pawn_structure.cpp: In member function ‘void seajay::PawnStructure::clear()’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/evaluation/pawn_structure.cpp:23:16: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct seajay::PawnEntry’; use assignment or value-initialization instead [-Wclass-memaccess]
23 | std::memset(m_table, 0, m_size * sizeof(PawnEntry));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/evaluation/pawn_structure.cpp:1:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/evaluation/pawn_structure.h:10:8: note: ‘struct seajay::PawnEntry’ declared here
10 | struct PawnEntry {
| ^~~~~~~~~
In file included from /tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/negamax.h:3,
from /tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/negamax.cpp:1:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/types.h: In static member function ‘static int seajay::search::SearchData::PruneBreakdown::bucketForDepth(int)’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/types.h:499:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
499 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/types.h:499:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
499 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
In file included from /tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/search_scratch.cpp:1:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/types.h: In static member function ‘static int seajay::search::SearchData::PruneBreakdown::bucketForDepth(int)’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/types.h:499:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
499 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/types.h:499:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
499 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
In file included from /tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/quiescence.h:6,
from /tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/quiescence.cpp:1:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/types.h: In static member function ‘static int seajay::search::SearchData::PruneBreakdown::bucketForDepth(int)’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/types.h:499:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
499 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/types.h:499:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
499 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
In file included from /tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/ranked_move_picker.h:47,
from /tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/ranked_move_picker.cpp:1:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/types.h: In static member function ‘static int seajay::search::SearchData::PruneBreakdown::bucketForDepth(int)’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/types.h:499:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
499 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/types.h:499:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
499 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
In file included from /tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/lmr.h:4,
from /tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/lmr.cpp:1:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/types.h: In static member function ‘static int seajay::search::SearchData::PruneBreakdown::bucketForDepth(int)’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/types.h:499:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
499 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/types.h:499:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
499 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/ranked_move_picker.cpp: In constructor ‘seajay::search::RankedMovePicker::RankedMovePicker(const seajay::Board&, seajay::Move, const seajay::search::KillerMoves*, const seajay::search::HistoryHeuristic*, const seajay::CounterMoves*, const seajay::search::CounterMoveHistory*, seajay::Move, int, int, int, const seajay::search::SearchLimits*, seajay::search::SearchData*)’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/ranked_move_picker.cpp:326:22: warning: variable ‘blockMask’ set but not used [-Wunused-but-set-variable]
326 | Bitboard blockMask = 0;
| ^~~~~~~~~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/ranked_move_picker.cpp:352:18: warning: unused variable ‘class1End’ [-Wunused-variable]
352 | auto class1End = std::stable_partition(m_moves.begin(), m_moves.end(), isCaptureOfChecker);
| ^~~~~~~~~
In file included from /tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/core/board.cpp:5:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/core/simd_utils.h: In function ‘uint64_t seajay::simd::getIsolatedPawnsFast(uint64_t)’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/core/simd_utils.h:118:24: warning: unused variable ‘NOT_FILE_A’ [-Wunused-variable]
118 | constexpr uint64_t NOT_FILE_A = ~FILE_A;
| ^~~~~~~~~~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/core/simd_utils.h:119:24: warning: unused variable ‘NOT_FILE_H’ [-Wunused-variable]
119 | constexpr uint64_t NOT_FILE_H = ~FILE_H;
| ^~~~~~~~~~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/core/simd_utils.h: In function ‘uint64_t seajay::simd::getBackwardPawnsFast(uint64_t, uint64_t, bool, uint64_t)’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/core/simd_utils.h:216:22: warning: unused variable ‘leftFile’ [-Wunused-variable]
216 | uint64_t leftFile = FILE_A << (file - 1);
| ^~~~~~~~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/core/simd_utils.h:189:24: warning: unused variable ‘FILE_H’ [-Wunused-variable]
189 | constexpr uint64_t FILE_H = 0x8080808080808080ULL;
| ^~~~~~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/negamax.cpp: In function ‘seajay::eval::Score seajay::search::negamax(seajay::Board&, NodeContext, int, int, seajay::eval::Score, seajay::eval::Score, seajay::SearchInfo&, SearchData&, const SearchLimits&, seajay::TranspositionTable*, TriangularPV*)’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/negamax.cpp:1201:27: warning: unused variable ‘K’ [-Wunused-variable]
1201 | const int K = 5; // Protected window size
| ^
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/negamax.cpp:1410:14: warning: unused variable ‘isCutoffMove’ [-Wunused-variable]
1410 | bool isCutoffMove = false;
| ^~~~~~~~~~~~
In file included from /tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/evaluation/evaluate.cpp:10:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/evaluation/../core/simd_utils.h: In function ‘uint64_t seajay::simd::getIsolatedPawnsFast(uint64_t)’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/evaluation/../core/simd_utils.h:118:24: warning: unused variable ‘NOT_FILE_A’ [-Wunused-variable]
118 | constexpr uint64_t NOT_FILE_A = ~FILE_A;
| ^~~~~~~~~~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/evaluation/../core/simd_utils.h:119:24: warning: unused variable ‘NOT_FILE_H’ [-Wunused-variable]
119 | constexpr uint64_t NOT_FILE_H = ~FILE_H;
| ^~~~~~~~~~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/evaluation/../core/simd_utils.h: In function ‘uint64_t seajay::simd::getBackwardPawnsFast(uint64_t, uint64_t, bool, uint64_t)’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/evaluation/../core/simd_utils.h:216:22: warning: unused variable ‘leftFile’ [-Wunused-variable]
216 | uint64_t leftFile = FILE_A << (file - 1);
| ^~~~~~~~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/evaluation/../core/simd_utils.h:189:24: warning: unused variable ‘FILE_H’ [-Wunused-variable]
189 | constexpr uint64_t FILE_H = 0x8080808080808080ULL;
| ^~~~~~
In file included from /tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/search.h:5,
from /tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/search.cpp:1:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/types.h: In static member function ‘static int seajay::search::SearchData::PruneBreakdown::bucketForDepth(int)’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/types.h:499:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
499 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/types.h:499:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
499 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
In file included from /tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/time_management.h:8,
from /tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/time_management.cpp:4:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/types.h: In static member function ‘static int seajay::search::SearchData::PruneBreakdown::bucketForDepth(int)’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/types.h:499:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
499 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/types.h:499:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
499 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
In file included from /tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/quiescence.h:6,
from /tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/quiescence_performance.cpp:2:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/types.h: In static member function ‘static int seajay::search::SearchData::PruneBreakdown::bucketForDepth(int)’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/types.h:499:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
499 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/types.h:499:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
499 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/quiescence_performance.cpp: In static member function ‘static seajay::search::QuiescencePerformanceData seajay::search::QuiescencePerformanceBenchmark::benchmarkPosition(const std::string&, int, bool)’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/search/quiescence_performance.cpp:109:10: warning: variable ‘startTime’ set but not used [-Wunused-but-set-variable]
109 | auto startTime = std::chrono::high_resolution_clock::now();
| ^~~~~~~~~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/core/board.cpp: In member function ‘bool seajay::Board::isRepetitionDrawInSearch(const seajay::SearchInfo&, int) const’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/core/board.cpp:2393:9: warning: unused variable ‘maxLookback’ [-Wunused-variable]
2393 | int maxLookback = std::min(static_cast<int>(m_halfmoveClock), 100);
| ^~~~~~~~~~~
[ 84%] Linking CXX static library libseajay_core.a
make[4]: Leaving directory '/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/openbench-build'
[ 84%] Built target seajay_core
make[4]: Entering directory '/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/openbench-build'
make[4]: Leaving directory '/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/openbench-build'
make[4]: Entering directory '/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/openbench-build'
[ 87%] Building CXX object CMakeFiles/seajay.dir/src/main.cpp.o
[ 90%] Building CXX object CMakeFiles/seajay.dir/src/uci/uci.cpp.o
[ 93%] Building CXX object CMakeFiles/seajay.dir/src/benchmark/benchmark.cpp.o
[ 96%] Building CXX object CMakeFiles/seajay.dir/src/uci/info_builder.cpp.o
In file included from /tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/benchmark/../search/negamax.h:3,
from /tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/benchmark/benchmark.cpp:4:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/benchmark/../search/types.h: In static member function ‘static int seajay::search::SearchData::PruneBreakdown::bucketForDepth(int)’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/benchmark/../search/types.h:499:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
499 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/benchmark/../search/types.h:499:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
499 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
In file included from /tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/uci/../search/search.h:5,
from /tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/uci/uci.cpp:4:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/uci/../search/types.h: In static member function ‘static int seajay::search::SearchData::PruneBreakdown::bucketForDepth(int)’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/uci/../search/types.h:499:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
499 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/uci/../search/types.h:499:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
499 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/uci/uci.cpp: In member function ‘void seajay::UCIEngine::handleDebug(const std::vector<std::__cxx11::basic_string<char> >&)’:
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/uci/uci.cpp:2415:25: warning: variable ‘score’ set but not used [-Wunused-but-set-variable]
2415 | eval::Score score = eval::evaluateWithTrace(m_board, trace);
| ^~~~~
/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/src/uci/uci.cpp:2497:25: warning: variable ‘score’ set but not used [-Wunused-but-set-variable]
2497 | eval::Score score = eval::evaluateWithTrace(m_board, trace);
| ^~~~~
[100%] Linking CXX executable seajay
lto-wrapper: warning: using serial compilation of 9 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more information
/usr/bin/ld: /tmp/ccPZ2Ckv.ltrans0.ltrans.o: in function `seajay::BenchmarkSuite::runSearch(seajay::Board&, int)':
<artificial>:(.text+0x69e8): undefined reference to `seajay::search::negamax(seajay::Board&, int, int, seajay::eval::Score, seajay::eval::Score, seajay::SearchInfo&, seajay::search::SearchData&, seajay::search::SearchLimits const&, seajay::TranspositionTable*, seajay::search::TriangularPV*, bool)'
collect2: error: ld returned 1 exit status
make[4]: *** [CMakeFiles/seajay.dir/build.make:146: seajay] Error 1
make[4]: Leaving directory '/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/openbench-build'
make[3]: *** [CMakeFiles/Makefile2:116: CMakeFiles/seajay.dir/all] Error 2
make[3]: Leaving directory '/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/openbench-build'
make[2]: *** [CMakeFiles/Makefile2:123: CMakeFiles/seajay.dir/rule] Error 2
make[2]: Leaving directory '/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/openbench-build'
make[1]: *** [Makefile:192: seajay] Error 2
make[1]: Leaving directory '/tmp/tmpfpoqd6i6/SeaJay/SeaJay-tmp/openbench-build'
make: *** [Makefile:51: all] Error 2