g++ -O3 -march=native -ffast-math -funroll-loops -flto -fuse-ld=lld -std=c++20 -static -DNDEBUG -DEVALFILE=\"/home/haroldchelubovski/OpenBench/Client/Networks/130BBF51\" ./src/Prelude.cpp -o Spaghet-7E96C93D-130BBF51 ./src/Prelude.cpp: In function ‘std::string abbreviateNum(i64)’: ./src/Prelude.cpp:262:21: error: ‘format’ is not a member of ‘std’ 262 | return std::format("{:.2f} g", v / 1000000000.0); | ^~~~~~ ./src/Prelude.cpp:264:21: error: ‘format’ is not a member of ‘std’ 264 | return std::format("{:.2f} m", v / 1000000.0); | ^~~~~~ ./src/Prelude.cpp:266:21: error: ‘format’ is not a member of ‘std’ 266 | return std::format("{:.2f} k", v / 1000.0); | ^~~~~~ ./src/Prelude.cpp: In function ‘constexpr u64 getRookAttacks(Square, u64)’: ./src/Prelude.cpp:520:174: error: the value of ‘ROOK_ATTACKS’ is not usable in a constant expression 520 | constexpr u64 getRookAttacks(Square square, u64 occ) { return ROOK_ATTACKS[square][((occ & ROOK_ATTACK_MASKS[square]) * ROOK_MAGICS[square]) >> ROOK_ATTACK_SHIFTS[square]]; } | ^ ./src/Prelude.cpp:488:5: note: ‘ROOK_ATTACKS’ was not declared ‘constexpr’ 488 | u64 ROOK_ATTACKS[64][4096]; | ^~~~~~~~~~~~ ./src/Prelude.cpp: In function ‘constexpr u64 getBishopAttacks(Square, u64)’: ./src/Prelude.cpp:570:184: error: the value of ‘BISHOP_ATTACKS’ is not usable in a constant expression 570 | constexpr u64 getBishopAttacks(Square square, u64 occ) { return BISHOP_ATTACKS[square][((occ & BISHOP_ATTACK_MASKS[square]) * BISHOP_MAGICS[square]) >> BISHOP_ATTACK_SHIFTS[square]]; } | ^ ./src/Prelude.cpp:538:5: note: ‘BISHOP_ATTACKS’ was not declared ‘constexpr’ 538 | u64 BISHOP_ATTACKS[64][512]; | ^~~~~~~~~~~~~~ ./src/Prelude.cpp: In lambda function: ./src/Prelude.cpp:1658:58: error: ‘format’ is not a member of ‘std’ 1658 | return (withoutSq > 0 ? "+" : "") + std::format("{:.2f}", withoutSq); | ^~~~~~ ./src/Prelude.cpp: In member function ‘void NNUE::showBuckets(const Board*)’: ./src/Prelude.cpp:2460:116: error: ‘format’ is not a member of ‘std’ 2460 | cout << "| " << padStr(outputBucket, 11, 0) << "| " << (staticEval > 0 ? "+" : "-") << " " << padStr(std::format("{:.2f}", std::abs(staticEval / 100.0)), 8, 0) << "|"; | ^~~~~~ ./src/Prelude.cpp: In function ‘MoveEvaluation iterativeDeepening(Board, int, std::atomic<bool>&, int, int, int, int, int, u64, u64)’: ./src/Prelude.cpp:3317:73: error: ‘format’ is not a member of ‘std’ 3317 | fancyEval = (toCP(eval, board) > 0 ? '+' : '\0') + std::format("{:.2f}", toCP(eval, board) / 100.0); | ^~~~~~ ./src/Prelude.cpp:3327:33: error: ‘format’ is not a member of ‘std’ 3327 | cout << padStr(std::format("{:.1f}%", hashPercent), 9); | ^~~~~~ ./src/Prelude.cpp: In function ‘std::string makeFileName()’: ./src/Prelude.cpp:3592:27: error: ‘format’ is not a member of ‘std’ 3592 | return "data-" + std::format("{:04}-{:02}-{:02}", tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday) + "-" + randomStr + ".preludedata"; | ^~~~~~ ./src/Prelude.cpp: In function ‘void playGames()’: ./src/Prelude.cpp:3663:45: error: ‘format’ is not a member of ‘std’ 3663 | cout << "Positions/second: " + std::format("{:.2f}", avgPosPerSec) << endl; | ^~~~~~ ./src/Prelude.cpp: In instantiation of ‘u64 shift(u64) [with Direction shiftDir = SOUTH; u64 = long unsigned int]’: ./src/Prelude.cpp:990:70: required from here ./src/Prelude.cpp:349:15: warning: left shift count is negative [-Wshift-count-negative] 349 | return bb << shiftDir; | ~~~^~~~~~~~~~~ ./src/Prelude.cpp: In instantiation of ‘u64 shift(u64) [with Direction shiftDir = SOUTH_EAST; u64 = long unsigned int]’: ./src/Prelude.cpp:995:99: required from here ./src/Prelude.cpp:349:15: warning: left shift count is negative [-Wshift-count-negative] ./src/Prelude.cpp: In instantiation of ‘u64 shift(u64) [with Direction shiftDir = SOUTH_WEST; u64 = long unsigned int]’: ./src/Prelude.cpp:1000:97: required from here ./src/Prelude.cpp:349:15: warning: left shift count is negative [-Wshift-count-negative] ./src/Prelude.cpp: In instantiation of ‘u64 shift(u64) [with Direction shiftDir = WEST; u64 = long unsigned int]’: ./src/Prelude.cpp:1893:71: required from here ./src/Prelude.cpp:349:15: warning: left shift count is negative [-Wshift-count-negative] make: *** [makefile:29: Spaghet-7E96C93D-130BBF51] Error 1