make -C .. CC=cc EXE=Schoenemann-5648830C make[1]: Entering directory '/tmp/tmp0vh56hvt/Schoenemann/Schoenemann-tmp' cd Schoenemann && clang++ -Wall -O3 -std=c++20 -funroll-loops -flto -fno-exceptions -DIS_64BIT -DNDEBUG schoenemann.cpp search.cpp timeman.cpp helper.cpp tt.cpp main.cpp moveorder.cpp see.cpp tune.cpp tuneconsts.cpp datagen.cpp -o ../src/Schoenemann-5648830C In file included from schoenemann.cpp:9: In file included from ./schoenemann.h:4: /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2320:48: error: call to consteval function 'std::chrono::hh_mm_ss::_S_fractional_width' is not a constant expression static constexpr unsigned fractional_width = {_S_fractional_width()}; ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2320:48: note: undefined function '_S_fractional_width' cannot be used in a constant expression /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2275:2: note: declared here _S_fractional_width() ^ In file included from schoenemann.cpp:9: In file included from ./schoenemann.h:5: In file included from ./consts.h:6: In file included from ./tt.h:6: ./chess.hpp:1334:13: error: cannot use 'throw' with exceptions disabled throw std::out_of_range("Movelist::at: pos (which is " + std::to_string(pos) + ") >= size (which is " + ^ ./chess.hpp:1344:13: error: cannot use 'throw' with exceptions disabled throw std::out_of_range("Movelist::at: pos (which is " + std::to_string(pos) + ") >= size (which is " + ^ ./chess.hpp:1852:31: error: cannot use 'throw' with exceptions disabled if (parts.size() < 1) throw std::runtime_error("Invalid EPD"); ^ ./chess.hpp:1863:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ ./chess.hpp:3984:17: error: cannot use 'throw' with exceptions disabled throw StreamParserException("LineBuffer underflow"); ^ ./chess.hpp:4161:29: error: cannot use 'throw' with exceptions disabled throw StreamParserException("Invalid PGN, missing closing quote in header"); ^ ./chess.hpp:4702:13: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 2: " + std::string(san) + " " + board.getFen()); ^ ./chess.hpp:4748:9: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 3: " + std::string(san) + " " + board.getFen()); ^ ./chess.hpp:4775:17: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 0: " + std::string(san)); ^ ./chess.hpp:4851:17: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse promotion, during san conversion." + std::string(san)); ^ ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:1836:9: note: in instantiation of function template specialization 'chess::Board::setFenInternal<true>' requested here setFenInternal<true>(fen); ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:1839:49: note: in instantiation of function template specialization 'chess::Board::setFenInternal<false>' requested here virtual void setFen(std::string_view fen) { setFenInternal(fen); } ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ 17 errors generated. In file included from search.cpp:1: In file included from ./search.h:3: /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2320:48: error: call to consteval function 'std::chrono::hh_mm_ss::_S_fractional_width' is not a constant expression static constexpr unsigned fractional_width = {_S_fractional_width()}; ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2320:48: note: undefined function '_S_fractional_width' cannot be used in a constant expression /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2275:2: note: declared here _S_fractional_width() ^ In file included from search.cpp:1: In file included from ./search.h:6: ./chess.hpp:1334:13: error: cannot use 'throw' with exceptions disabled throw std::out_of_range("Movelist::at: pos (which is " + std::to_string(pos) + ") >= size (which is " + ^ ./chess.hpp:1344:13: error: cannot use 'throw' with exceptions disabled throw std::out_of_range("Movelist::at: pos (which is " + std::to_string(pos) + ") >= size (which is " + ^ ./chess.hpp:1852:31: error: cannot use 'throw' with exceptions disabled if (parts.size() < 1) throw std::runtime_error("Invalid EPD"); ^ ./chess.hpp:1863:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ ./chess.hpp:3984:17: error: cannot use 'throw' with exceptions disabled throw StreamParserException("LineBuffer underflow"); ^ ./chess.hpp:4161:29: error: cannot use 'throw' with exceptions disabled throw StreamParserException("Invalid PGN, missing closing quote in header"); ^ ./chess.hpp:4702:13: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 2: " + std::string(san) + " " + board.getFen()); ^ ./chess.hpp:4748:9: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 3: " + std::string(san) + " " + board.getFen()); ^ ./chess.hpp:4775:17: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 0: " + std::string(san)); ^ ./chess.hpp:4851:17: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse promotion, during san conversion." + std::string(san)); ^ search.cpp:714:33: warning: '&&' within '||' [-Wlogical-op-parentheses] if (shouldStopID(start) && !isInfinite || i == 256) ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ~~ search.cpp:714:33: note: place parentheses around the '&&' expression to silence this warning if (shouldStopID(start) && !isInfinite || i == 256) ^ ( ) In file included from search.cpp:1: In file included from ./search.h:6: ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:1836:9: note: in instantiation of function template specialization 'chess::Board::setFenInternal<true>' requested here setFenInternal<true>(fen); ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:1839:49: note: in instantiation of function template specialization 'chess::Board::setFenInternal<false>' requested here virtual void setFen(std::string_view fen) { setFenInternal(fen); } ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ 1 warning and 17 errors generated. In file included from timeman.cpp:1: In file included from ./timeman.h:3: In file included from ./consts.h:6: In file included from ./tt.h:6: ./chess.hpp:1334:13: error: cannot use 'throw' with exceptions disabled throw std::out_of_range("Movelist::at: pos (which is " + std::to_string(pos) + ") >= size (which is " + ^ ./chess.hpp:1344:13: error: cannot use 'throw' with exceptions disabled throw std::out_of_range("Movelist::at: pos (which is " + std::to_string(pos) + ") >= size (which is " + ^ ./chess.hpp:1852:31: error: cannot use 'throw' with exceptions disabled if (parts.size() < 1) throw std::runtime_error("Invalid EPD"); ^ ./chess.hpp:1863:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ ./chess.hpp:3984:17: error: cannot use 'throw' with exceptions disabled throw StreamParserException("LineBuffer underflow"); ^ ./chess.hpp:4161:29: error: cannot use 'throw' with exceptions disabled throw StreamParserException("Invalid PGN, missing closing quote in header"); ^ ./chess.hpp:4702:13: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 2: " + std::string(san) + " " + board.getFen()); ^ ./chess.hpp:4748:9: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 3: " + std::string(san) + " " + board.getFen()); ^ ./chess.hpp:4775:17: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 0: " + std::string(san)); ^ ./chess.hpp:4851:17: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse promotion, during san conversion." + std::string(san)); ^ In file included from timeman.cpp:1: In file included from ./timeman.h:3: In file included from ./consts.h:7: In file included from ./search.h:3: /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2320:48: error: call to consteval function 'std::chrono::hh_mm_ss::_S_fractional_width' is not a constant expression static constexpr unsigned fractional_width = {_S_fractional_width()}; ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2320:48: note: undefined function '_S_fractional_width' cannot be used in a constant expression /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2275:2: note: declared here _S_fractional_width() ^ In file included from timeman.cpp:1: In file included from ./timeman.h:3: In file included from ./consts.h:6: In file included from ./tt.h:6: ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:1836:9: note: in instantiation of function template specialization 'chess::Board::setFenInternal<true>' requested here setFenInternal<true>(fen); ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:1839:49: note: in instantiation of function template specialization 'chess::Board::setFenInternal<false>' requested here virtual void setFen(std::string_view fen) { setFenInternal(fen); } ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ 17 errors generated. In file included from helper.cpp:1: In file included from ./helper.h:3: In file included from ./consts.h:6: In file included from ./tt.h:6: ./chess.hpp:1334:13: error: cannot use 'throw' with exceptions disabled throw std::out_of_range("Movelist::at: pos (which is " + std::to_string(pos) + ") >= size (which is " + ^ ./chess.hpp:1344:13: error: cannot use 'throw' with exceptions disabled throw std::out_of_range("Movelist::at: pos (which is " + std::to_string(pos) + ") >= size (which is " + ^ ./chess.hpp:1852:31: error: cannot use 'throw' with exceptions disabled if (parts.size() < 1) throw std::runtime_error("Invalid EPD"); ^ ./chess.hpp:1863:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ ./chess.hpp:3984:17: error: cannot use 'throw' with exceptions disabled throw StreamParserException("LineBuffer underflow"); ^ ./chess.hpp:4161:29: error: cannot use 'throw' with exceptions disabled throw StreamParserException("Invalid PGN, missing closing quote in header"); ^ ./chess.hpp:4702:13: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 2: " + std::string(san) + " " + board.getFen()); ^ ./chess.hpp:4748:9: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 3: " + std::string(san) + " " + board.getFen()); ^ ./chess.hpp:4775:17: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 0: " + std::string(san)); ^ ./chess.hpp:4851:17: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse promotion, during san conversion." + std::string(san)); ^ In file included from helper.cpp:1: In file included from ./helper.h:3: In file included from ./consts.h:7: In file included from ./search.h:3: /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2320:48: error: call to consteval function 'std::chrono::hh_mm_ss::_S_fractional_width' is not a constant expression static constexpr unsigned fractional_width = {_S_fractional_width()}; ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2320:48: note: undefined function '_S_fractional_width' cannot be used in a constant expression /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2275:2: note: declared here _S_fractional_width() ^ In file included from helper.cpp:1: In file included from ./helper.h:3: In file included from ./consts.h:6: In file included from ./tt.h:6: ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:1836:9: note: in instantiation of function template specialization 'chess::Board::setFenInternal<true>' requested here setFenInternal<true>(fen); ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:1839:49: note: in instantiation of function template specialization 'chess::Board::setFenInternal<false>' requested here virtual void setFen(std::string_view fen) { setFenInternal(fen); } ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ 17 errors generated. In file included from tt.cpp:1: In file included from ./tt.h:6: ./chess.hpp:1334:13: error: cannot use 'throw' with exceptions disabled throw std::out_of_range("Movelist::at: pos (which is " + std::to_string(pos) + ") >= size (which is " + ^ ./chess.hpp:1344:13: error: cannot use 'throw' with exceptions disabled throw std::out_of_range("Movelist::at: pos (which is " + std::to_string(pos) + ") >= size (which is " + ^ ./chess.hpp:1852:31: error: cannot use 'throw' with exceptions disabled if (parts.size() < 1) throw std::runtime_error("Invalid EPD"); ^ ./chess.hpp:1863:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ ./chess.hpp:3984:17: error: cannot use 'throw' with exceptions disabled throw StreamParserException("LineBuffer underflow"); ^ ./chess.hpp:4161:29: error: cannot use 'throw' with exceptions disabled throw StreamParserException("Invalid PGN, missing closing quote in header"); ^ ./chess.hpp:4702:13: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 2: " + std::string(san) + " " + board.getFen()); ^ ./chess.hpp:4748:9: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 3: " + std::string(san) + " " + board.getFen()); ^ ./chess.hpp:4775:17: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 0: " + std::string(san)); ^ ./chess.hpp:4851:17: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse promotion, during san conversion." + std::string(san)); ^ ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:1836:9: note: in instantiation of function template specialization 'chess::Board::setFenInternal<true>' requested here setFenInternal<true>(fen); ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:1839:49: note: in instantiation of function template specialization 'chess::Board::setFenInternal<false>' requested here virtual void setFen(std::string_view fen) { setFenInternal(fen); } ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ 16 errors generated. In file included from main.cpp:1: In file included from ./schoenemann.h:4: /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2320:48: error: call to consteval function 'std::chrono::hh_mm_ss::_S_fractional_width' is not a constant expression static constexpr unsigned fractional_width = {_S_fractional_width()}; ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2320:48: note: undefined function '_S_fractional_width' cannot be used in a constant expression /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2275:2: note: declared here _S_fractional_width() ^ In file included from main.cpp:1: In file included from ./schoenemann.h:5: In file included from ./consts.h:6: In file included from ./tt.h:6: ./chess.hpp:1334:13: error: cannot use 'throw' with exceptions disabled throw std::out_of_range("Movelist::at: pos (which is " + std::to_string(pos) + ") >= size (which is " + ^ ./chess.hpp:1344:13: error: cannot use 'throw' with exceptions disabled throw std::out_of_range("Movelist::at: pos (which is " + std::to_string(pos) + ") >= size (which is " + ^ ./chess.hpp:1852:31: error: cannot use 'throw' with exceptions disabled if (parts.size() < 1) throw std::runtime_error("Invalid EPD"); ^ ./chess.hpp:1863:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ ./chess.hpp:3984:17: error: cannot use 'throw' with exceptions disabled throw StreamParserException("LineBuffer underflow"); ^ ./chess.hpp:4161:29: error: cannot use 'throw' with exceptions disabled throw StreamParserException("Invalid PGN, missing closing quote in header"); ^ ./chess.hpp:4702:13: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 2: " + std::string(san) + " " + board.getFen()); ^ ./chess.hpp:4748:9: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 3: " + std::string(san) + " " + board.getFen()); ^ ./chess.hpp:4775:17: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 0: " + std::string(san)); ^ ./chess.hpp:4851:17: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse promotion, during san conversion." + std::string(san)); ^ ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:1836:9: note: in instantiation of function template specialization 'chess::Board::setFenInternal<true>' requested here setFenInternal<true>(fen); ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:1839:49: note: in instantiation of function template specialization 'chess::Board::setFenInternal<false>' requested here virtual void setFen(std::string_view fen) { setFenInternal(fen); } ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ 17 errors generated. In file included from moveorder.cpp:1: In file included from ./moveorder.h:5: In file included from ./consts.h:6: In file included from ./tt.h:6: ./chess.hpp:1334:13: error: cannot use 'throw' with exceptions disabled throw std::out_of_range("Movelist::at: pos (which is " + std::to_string(pos) + ") >= size (which is " + ^ ./chess.hpp:1344:13: error: cannot use 'throw' with exceptions disabled throw std::out_of_range("Movelist::at: pos (which is " + std::to_string(pos) + ") >= size (which is " + ^ ./chess.hpp:1852:31: error: cannot use 'throw' with exceptions disabled if (parts.size() < 1) throw std::runtime_error("Invalid EPD"); ^ ./chess.hpp:1863:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ ./chess.hpp:3984:17: error: cannot use 'throw' with exceptions disabled throw StreamParserException("LineBuffer underflow"); ^ ./chess.hpp:4161:29: error: cannot use 'throw' with exceptions disabled throw StreamParserException("Invalid PGN, missing closing quote in header"); ^ ./chess.hpp:4702:13: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 2: " + std::string(san) + " " + board.getFen()); ^ ./chess.hpp:4748:9: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 3: " + std::string(san) + " " + board.getFen()); ^ ./chess.hpp:4775:17: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 0: " + std::string(san)); ^ ./chess.hpp:4851:17: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse promotion, during san conversion." + std::string(san)); ^ In file included from moveorder.cpp:1: In file included from ./moveorder.h:5: In file included from ./consts.h:7: In file included from ./search.h:3: /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2320:48: error: call to consteval function 'std::chrono::hh_mm_ss::_S_fractional_width' is not a constant expression static constexpr unsigned fractional_width = {_S_fractional_width()}; ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2320:48: note: undefined function '_S_fractional_width' cannot be used in a constant expression /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2275:2: note: declared here _S_fractional_width() ^ In file included from moveorder.cpp:1: In file included from ./moveorder.h:5: In file included from ./consts.h:6: In file included from ./tt.h:6: ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:1836:9: note: in instantiation of function template specialization 'chess::Board::setFenInternal<true>' requested here setFenInternal<true>(fen); ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:1839:49: note: in instantiation of function template specialization 'chess::Board::setFenInternal<false>' requested here virtual void setFen(std::string_view fen) { setFenInternal(fen); } ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ 17 errors generated. In file included from see.cpp:1: In file included from ./see.h:3: ./chess.hpp:1334:13: error: cannot use 'throw' with exceptions disabled throw std::out_of_range("Movelist::at: pos (which is " + std::to_string(pos) + ") >= size (which is " + ^ ./chess.hpp:1344:13: error: cannot use 'throw' with exceptions disabled throw std::out_of_range("Movelist::at: pos (which is " + std::to_string(pos) + ") >= size (which is " + ^ ./chess.hpp:1852:31: error: cannot use 'throw' with exceptions disabled if (parts.size() < 1) throw std::runtime_error("Invalid EPD"); ^ ./chess.hpp:1863:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ ./chess.hpp:3984:17: error: cannot use 'throw' with exceptions disabled throw StreamParserException("LineBuffer underflow"); ^ ./chess.hpp:4161:29: error: cannot use 'throw' with exceptions disabled throw StreamParserException("Invalid PGN, missing closing quote in header"); ^ ./chess.hpp:4702:13: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 2: " + std::string(san) + " " + board.getFen()); ^ ./chess.hpp:4748:9: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 3: " + std::string(san) + " " + board.getFen()); ^ ./chess.hpp:4775:17: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 0: " + std::string(san)); ^ ./chess.hpp:4851:17: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse promotion, during san conversion." + std::string(san)); ^ In file included from see.cpp:1: In file included from ./see.h:4: In file included from ./consts.h:7: In file included from ./search.h:3: /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2320:48: error: call to consteval function 'std::chrono::hh_mm_ss::_S_fractional_width' is not a constant expression static constexpr unsigned fractional_width = {_S_fractional_width()}; ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2320:48: note: undefined function '_S_fractional_width' cannot be used in a constant expression /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2275:2: note: declared here _S_fractional_width() ^ In file included from see.cpp:1: In file included from ./see.h:3: ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:1836:9: note: in instantiation of function template specialization 'chess::Board::setFenInternal<true>' requested here setFenInternal<true>(fen); ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:1839:49: note: in instantiation of function template specialization 'chess::Board::setFenInternal<false>' requested here virtual void setFen(std::string_view fen) { setFenInternal(fen); } ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ 17 errors generated. In file included from datagen.cpp:1: In file included from ./datagen.h:2: In file included from ./consts.h:6: In file included from ./tt.h:6: ./chess.hpp:1334:13: error: cannot use 'throw' with exceptions disabled throw std::out_of_range("Movelist::at: pos (which is " + std::to_string(pos) + ") >= size (which is " + ^ ./chess.hpp:1344:13: error: cannot use 'throw' with exceptions disabled throw std::out_of_range("Movelist::at: pos (which is " + std::to_string(pos) + ") >= size (which is " + ^ ./chess.hpp:1852:31: error: cannot use 'throw' with exceptions disabled if (parts.size() < 1) throw std::runtime_error("Invalid EPD"); ^ ./chess.hpp:1863:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ ./chess.hpp:3984:17: error: cannot use 'throw' with exceptions disabled throw StreamParserException("LineBuffer underflow"); ^ ./chess.hpp:4161:29: error: cannot use 'throw' with exceptions disabled throw StreamParserException("Invalid PGN, missing closing quote in header"); ^ ./chess.hpp:4702:13: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 2: " + std::string(san) + " " + board.getFen()); ^ ./chess.hpp:4748:9: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 3: " + std::string(san) + " " + board.getFen()); ^ ./chess.hpp:4775:17: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse san. At step 0: " + std::string(san)); ^ ./chess.hpp:4851:17: error: cannot use 'throw' with exceptions disabled throw SanParseError("Failed to parse promotion, during san conversion." + std::string(san)); ^ In file included from datagen.cpp:1: In file included from ./datagen.h:2: In file included from ./consts.h:7: In file included from ./search.h:3: /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2320:48: error: call to consteval function 'std::chrono::hh_mm_ss::_S_fractional_width' is not a constant expression static constexpr unsigned fractional_width = {_S_fractional_width()}; ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2320:48: note: undefined function '_S_fractional_width' cannot be used in a constant expression /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2275:2: note: declared here _S_fractional_width() ^ In file included from datagen.cpp:1: In file included from ./datagen.h:2: In file included from ./consts.h:6: In file included from ./tt.h:6: ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:1836:9: note: in instantiation of function template specialization 'chess::Board::setFenInternal<true>' requested here setFenInternal<true>(fen); ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ ./chess.hpp:2935:13: error: cannot use 'try' with exceptions disabled try { ^ ./chess.hpp:1839:49: note: in instantiation of function template specialization 'chess::Board::setFenInternal<false>' requested here virtual void setFen(std::string_view fen) { setFenInternal(fen); } ^ ./chess.hpp:3005:13: error: cannot use 'throw' with exceptions disabled throw std::runtime_error("Invalid position"); ^ 17 errors generated. make[1]: *** [Makefile:13: all] Error 1 make[1]: Leaving directory '/tmp/tmp0vh56hvt/Schoenemann/Schoenemann-tmp' make: *** [Makefile:2: all] Error 2