g++ -Wall -std=c++17 -mpopcnt -pthread -mavx2 -O3 -march=native -flto -DEVALFILE=\"/home/doruk/ProgrammingProjects/OpenBench/Client/Networks/96BB87E8\" *.cpp fathom/tbprobe.cpp -DNDEBUG -D_BTYPE=0 -DSYZYGY_SUPPORT=TRUE -DUSE_AVX2=1 -o Igel-F038DA37-96BB87E8 In file included from bitboards.h:24, from bitboards.cpp:21: types.h:228:23: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 228 | static constexpr std::uint32_t PieceSquareIndex[COLOR_NB][PIECE_NB] = { | ^~~~~~~~ | wint_t types.h: In member function ‘void EvalList::put_piece(PieceId, Square, Piece)’: types.h:307:49: error: ‘PieceSquareIndex’ was not declared in this scope; did you mean ‘PieceSquare’? 307 | pieceListFw[piece_id] = PieceSquare(PieceSquareIndex[WHITE][pc] + sq); | ^~~~~~~~~~~~~~~~ | PieceSquare In file included from bitboards.h:24, from position.h:24, from moves.h:24, from gen.h:23, from gen.cpp:20: types.h:228:23: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 228 | static constexpr std::uint32_t PieceSquareIndex[COLOR_NB][PIECE_NB] = { | ^~~~~~~~ | wint_t types.h: In member function ‘void EvalList::put_piece(PieceId, Square, Piece)’: types.h:307:49: error: ‘PieceSquareIndex’ was not declared in this scope; did you mean ‘PieceSquare’? 307 | pieceListFw[piece_id] = PieceSquare(PieceSquareIndex[WHITE][pc] + sq); | ^~~~~~~~~~~~~~~~ | PieceSquare In file included from position.h:25: nnue.h: At global scope: nnue.h:56:10: error: ‘int32_t’ in namespace ‘std’ does not name a type 56 | std::int32_t transform(Position & pos, std::uint8_t * outBuffer, const std::size_t bucket); | ^~~~~~~ nnue.h:70:11: error: ‘std::int32_t’ has not been declared 70 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> class ClippedReLU { | ^~~ nnue.h:70:41: error: ‘std::int32_t’ has not been declared 70 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> class ClippedReLU { | ^~~ nnue.h:73:24: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 73 | inline static std::uint8_t * propagate(std::int32_t * features, char * outBuffer); | ^~~~~~~ | wint_t nnue.h:74:24: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 74 | inline static std::uint8_t * propagateSqrt(std::int32_t* features, char* outBuffer); | ^~~~~~~ | wint_t nnue.h:77:11: error: ‘std::int32_t’ has not been declared 77 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> class Layer { | ^~~ nnue.h:77:42: error: ‘std::int32_t’ has not been declared 77 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> class Layer { | ^~~ nnue.h:82:17: error: ‘int32_t’ in namespace ‘std’ does not name a type 82 | inline std::int32_t * propagate(std::uint8_t * features, char * outBuffer); | ^~~~~~~ nnue.h:85:30: error: ‘int32_t’ in namespace ‘std’ does not name a type 85 | alignas(CACHE_LINE) std::int32_t biases[OutputDimensions]; | ^~~~~~~ nnue.h:86:30: error: ‘int8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 86 | alignas(CACHE_LINE) std::int8_t weights[OutputDimensions * InputDimensions]; | ^~~~~~ | wint_t nnue.h:95:17: error: ‘int32_t’ in namespace ‘std’ does not name a type 95 | inline std::int32_t* propagate(std::uint8_t * features, char * outBuffer); | ^~~~~~~ position.h:68:10: error: ‘int16_t’ in namespace ‘std’ does not name a type 68 | std::int16_t accumulation[2][1024]; | ^~~~~~~ position.h:69:10: error: ‘int32_t’ in namespace ‘std’ does not name a type 69 | std::int32_t psqtAccumulation[2][8]; | ^~~~~~~ position.h: In member function ‘void Undo::reset()’: position.h:96:34: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 96 | std::memset(&accumulator.accumulation, 0, sizeof(accumulator.accumulation)); | ^~~~~~~~~~~~ | Accumulator position.h:96:74: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 96 | std::memset(&accumulator.accumulation, 0, sizeof(accumulator.accumulation)); | ^~~~~~~~~~~~ | Accumulator position.h:97:34: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 97 | std::memset(&accumulator.psqtAccumulation, 0, sizeof(accumulator.psqtAccumulation)); | ^~~~~~~~~~~~~~~~ | Accumulator position.h:97:74: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 97 | std::memset(&accumulator.psqtAccumulation, 0, sizeof(accumulator.psqtAccumulation)); | ^~~~~~~~~~~~~~~~ | Accumulator position.h: At global scope: position.h:161:10: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 161 | std::uint32_t getActiveIndexes(COLOR c, std::uint32_t indexes[]); | ^~~~~~~~ | wint_t position.h:162:20: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~~~~~~ | wint_t position.h:162:35: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~~~~~~ | wint_t position.h:162:43: error: template argument 1 is invalid 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^ position.h:162:43: error: template argument 2 is invalid position.h:162:72: error: ‘std::uint32_t’ has not been declared 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~ position.h:162:95: error: ‘std::uint32_t’ has not been declared 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~ position.h:163:17: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 163 | inline std::uint32_t makeIndex(Square sq_k, Square sq, Piece p, COLOR c); | ^~~~~~~~ | wint_t In file included from bitboards.h:24, from position.h:24, from moves.h:24, from history.h:24, from history.cpp:20: types.h:228:23: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 228 | static constexpr std::uint32_t PieceSquareIndex[COLOR_NB][PIECE_NB] = { | ^~~~~~~~ | wint_t types.h: In member function ‘void EvalList::put_piece(PieceId, Square, Piece)’: types.h:307:49: error: ‘PieceSquareIndex’ was not declared in this scope; did you mean ‘PieceSquare’? 307 | pieceListFw[piece_id] = PieceSquare(PieceSquareIndex[WHITE][pc] + sq); | ^~~~~~~~~~~~~~~~ | PieceSquare In file included from position.h:25: nnue.h: At global scope: nnue.h:56:10: error: ‘int32_t’ in namespace ‘std’ does not name a type 56 | std::int32_t transform(Position & pos, std::uint8_t * outBuffer, const std::size_t bucket); | ^~~~~~~ nnue.h:70:11: error: ‘std::int32_t’ has not been declared 70 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> class ClippedReLU { | ^~~ nnue.h:70:41: error: ‘std::int32_t’ has not been declared 70 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> class ClippedReLU { | ^~~ nnue.h:73:24: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 73 | inline static std::uint8_t * propagate(std::int32_t * features, char * outBuffer); | ^~~~~~~ | wint_t nnue.h:74:24: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 74 | inline static std::uint8_t * propagateSqrt(std::int32_t* features, char* outBuffer); | ^~~~~~~ | wint_t nnue.h:77:11: error: ‘std::int32_t’ has not been declared 77 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> class Layer { | ^~~ nnue.h:77:42: error: ‘std::int32_t’ has not been declared 77 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> class Layer { | ^~~ nnue.h:82:17: error: ‘int32_t’ in namespace ‘std’ does not name a type 82 | inline std::int32_t * propagate(std::uint8_t * features, char * outBuffer); | ^~~~~~~ nnue.h:85:30: error: ‘int32_t’ in namespace ‘std’ does not name a type 85 | alignas(CACHE_LINE) std::int32_t biases[OutputDimensions]; | ^~~~~~~ nnue.h:86:30: error: ‘int8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 86 | alignas(CACHE_LINE) std::int8_t weights[OutputDimensions * InputDimensions]; | ^~~~~~ | wint_t nnue.h:95:17: error: ‘int32_t’ in namespace ‘std’ does not name a type 95 | inline std::int32_t* propagate(std::uint8_t * features, char * outBuffer); | ^~~~~~~ position.h:68:10: error: ‘int16_t’ in namespace ‘std’ does not name a type 68 | std::int16_t accumulation[2][1024]; | ^~~~~~~ position.h:69:10: error: ‘int32_t’ in namespace ‘std’ does not name a type 69 | std::int32_t psqtAccumulation[2][8]; | ^~~~~~~ position.h: In member function ‘void Undo::reset()’: position.h:96:34: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 96 | std::memset(&accumulator.accumulation, 0, sizeof(accumulator.accumulation)); | ^~~~~~~~~~~~ | Accumulator position.h:96:74: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 96 | std::memset(&accumulator.accumulation, 0, sizeof(accumulator.accumulation)); | ^~~~~~~~~~~~ | Accumulator position.h:97:34: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 97 | std::memset(&accumulator.psqtAccumulation, 0, sizeof(accumulator.psqtAccumulation)); | ^~~~~~~~~~~~~~~~ | Accumulator position.h:97:74: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 97 | std::memset(&accumulator.psqtAccumulation, 0, sizeof(accumulator.psqtAccumulation)); | ^~~~~~~~~~~~~~~~ | Accumulator position.h: At global scope: position.h:161:10: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 161 | std::uint32_t getActiveIndexes(COLOR c, std::uint32_t indexes[]); | ^~~~~~~~ | wint_t position.h:162:20: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~~~~~~ | wint_t position.h:162:35: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~~~~~~ | wint_t position.h:162:43: error: template argument 1 is invalid 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^ position.h:162:43: error: template argument 2 is invalid position.h:162:72: error: ‘std::uint32_t’ has not been declared 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~ position.h:162:95: error: ‘std::uint32_t’ has not been declared 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~ position.h:163:17: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 163 | inline std::uint32_t makeIndex(Square sq_k, Square sq, Piece p, COLOR c); | ^~~~~~~~ | wint_t In file included from nnue.h:27, from main.cpp:21: types.h:228:23: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 228 | static constexpr std::uint32_t PieceSquareIndex[COLOR_NB][PIECE_NB] = { | ^~~~~~~~ | wint_t types.h: In member function ‘void EvalList::put_piece(PieceId, Square, Piece)’: types.h:307:49: error: ‘PieceSquareIndex’ was not declared in this scope; did you mean ‘PieceSquare’? 307 | pieceListFw[piece_id] = PieceSquare(PieceSquareIndex[WHITE][pc] + sq); | ^~~~~~~~~~~~~~~~ | PieceSquare nnue.h: At global scope: nnue.h:56:10: error: ‘int32_t’ in namespace ‘std’ does not name a type 56 | std::int32_t transform(Position & pos, std::uint8_t * outBuffer, const std::size_t bucket); | ^~~~~~~ nnue.h:70:11: error: ‘std::int32_t’ has not been declared 70 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> class ClippedReLU { | ^~~ nnue.h:70:41: error: ‘std::int32_t’ has not been declared 70 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> class ClippedReLU { | ^~~ nnue.h:73:24: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 73 | inline static std::uint8_t * propagate(std::int32_t * features, char * outBuffer); | ^~~~~~~ | wint_t nnue.h:74:24: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 74 | inline static std::uint8_t * propagateSqrt(std::int32_t* features, char* outBuffer); | ^~~~~~~ | wint_t nnue.h:77:11: error: ‘std::int32_t’ has not been declared 77 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> class Layer { | ^~~ nnue.h:77:42: error: ‘std::int32_t’ has not been declared 77 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> class Layer { | ^~~ nnue.h:82:17: error: ‘int32_t’ in namespace ‘std’ does not name a type 82 | inline std::int32_t * propagate(std::uint8_t * features, char * outBuffer); | ^~~~~~~ nnue.h:85:30: error: ‘int32_t’ in namespace ‘std’ does not name a type 85 | alignas(CACHE_LINE) std::int32_t biases[OutputDimensions]; | ^~~~~~~ nnue.h:86:30: error: ‘int8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 86 | alignas(CACHE_LINE) std::int8_t weights[OutputDimensions * InputDimensions]; | ^~~~~~ | wint_t nnue.h:95:17: error: ‘int32_t’ in namespace ‘std’ does not name a type 95 | inline std::int32_t* propagate(std::uint8_t * features, char * outBuffer); | ^~~~~~~ In file included from moves.h:24, from uci.h:23, from main.cpp:22: position.h:68:10: error: ‘int16_t’ in namespace ‘std’ does not name a type 68 | std::int16_t accumulation[2][1024]; | ^~~~~~~ position.h:69:10: error: ‘int32_t’ in namespace ‘std’ does not name a type 69 | std::int32_t psqtAccumulation[2][8]; | ^~~~~~~ position.h: In member function ‘void Undo::reset()’: position.h:96:34: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 96 | std::memset(&accumulator.accumulation, 0, sizeof(accumulator.accumulation)); | ^~~~~~~~~~~~ | Accumulator position.h:96:74: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 96 | std::memset(&accumulator.accumulation, 0, sizeof(accumulator.accumulation)); | ^~~~~~~~~~~~ | Accumulator position.h:97:34: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 97 | std::memset(&accumulator.psqtAccumulation, 0, sizeof(accumulator.psqtAccumulation)); | ^~~~~~~~~~~~~~~~ | Accumulator position.h:97:74: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 97 | std::memset(&accumulator.psqtAccumulation, 0, sizeof(accumulator.psqtAccumulation)); | ^~~~~~~~~~~~~~~~ | Accumulator position.h: At global scope: position.h:161:10: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 161 | std::uint32_t getActiveIndexes(COLOR c, std::uint32_t indexes[]); | ^~~~~~~~ | wint_t position.h:162:20: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~~~~~~ | wint_t position.h:162:35: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~~~~~~ | wint_t position.h:162:43: error: template argument 1 is invalid 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^ position.h:162:43: error: template argument 2 is invalid position.h:162:72: error: ‘std::uint32_t’ has not been declared 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~ position.h:162:95: error: ‘std::uint32_t’ has not been declared 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~ position.h:163:17: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 163 | inline std::uint32_t makeIndex(Square sq_k, Square sq, Piece p, COLOR c); | ^~~~~~~~ | wint_t In file included from bitboards.h:24, from position.h:24, from moves.h:24, from moveeval.h:23, from moveeval.cpp:20: types.h:228:23: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 228 | static constexpr std::uint32_t PieceSquareIndex[COLOR_NB][PIECE_NB] = { | ^~~~~~~~ | wint_t types.h: In member function ‘void EvalList::put_piece(PieceId, Square, Piece)’: types.h:307:49: error: ‘PieceSquareIndex’ was not declared in this scope; did you mean ‘PieceSquare’? 307 | pieceListFw[piece_id] = PieceSquare(PieceSquareIndex[WHITE][pc] + sq); | ^~~~~~~~~~~~~~~~ | PieceSquare In file included from position.h:25: nnue.h: At global scope: nnue.h:56:10: error: ‘int32_t’ in namespace ‘std’ does not name a type 56 | std::int32_t transform(Position & pos, std::uint8_t * outBuffer, const std::size_t bucket); | ^~~~~~~ nnue.h:70:11: error: ‘std::int32_t’ has not been declared 70 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> class ClippedReLU { | ^~~ nnue.h:70:41: error: ‘std::int32_t’ has not been declared 70 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> class ClippedReLU { | ^~~ nnue.h:73:24: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 73 | inline static std::uint8_t * propagate(std::int32_t * features, char * outBuffer); | ^~~~~~~ | wint_t nnue.h:74:24: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 74 | inline static std::uint8_t * propagateSqrt(std::int32_t* features, char* outBuffer); | ^~~~~~~ | wint_t nnue.h:77:11: error: ‘std::int32_t’ has not been declared 77 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> class Layer { | ^~~ nnue.h:77:42: error: ‘std::int32_t’ has not been declared 77 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> class Layer { | ^~~ nnue.h:82:17: error: ‘int32_t’ in namespace ‘std’ does not name a type 82 | inline std::int32_t * propagate(std::uint8_t * features, char * outBuffer); | ^~~~~~~ nnue.h:85:30: error: ‘int32_t’ in namespace ‘std’ does not name a type 85 | alignas(CACHE_LINE) std::int32_t biases[OutputDimensions]; | ^~~~~~~ nnue.h:86:30: error: ‘int8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 86 | alignas(CACHE_LINE) std::int8_t weights[OutputDimensions * InputDimensions]; | ^~~~~~ | wint_t nnue.h:95:17: error: ‘int32_t’ in namespace ‘std’ does not name a type 95 | inline std::int32_t* propagate(std::uint8_t * features, char * outBuffer); | ^~~~~~~ position.h:68:10: error: ‘int16_t’ in namespace ‘std’ does not name a type 68 | std::int16_t accumulation[2][1024]; | ^~~~~~~ position.h:69:10: error: ‘int32_t’ in namespace ‘std’ does not name a type 69 | std::int32_t psqtAccumulation[2][8]; | ^~~~~~~ position.h: In member function ‘void Undo::reset()’: position.h:96:34: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 96 | std::memset(&accumulator.accumulation, 0, sizeof(accumulator.accumulation)); | ^~~~~~~~~~~~ | Accumulator position.h:96:74: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 96 | std::memset(&accumulator.accumulation, 0, sizeof(accumulator.accumulation)); | ^~~~~~~~~~~~ | Accumulator position.h:97:34: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 97 | std::memset(&accumulator.psqtAccumulation, 0, sizeof(accumulator.psqtAccumulation)); | ^~~~~~~~~~~~~~~~ | Accumulator position.h:97:74: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 97 | std::memset(&accumulator.psqtAccumulation, 0, sizeof(accumulator.psqtAccumulation)); | ^~~~~~~~~~~~~~~~ | Accumulator position.h: At global scope: position.h:161:10: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 161 | std::uint32_t getActiveIndexes(COLOR c, std::uint32_t indexes[]); | ^~~~~~~~ | wint_t position.h:162:20: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~~~~~~ | wint_t position.h:162:35: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~~~~~~ | wint_t position.h:162:43: error: template argument 1 is invalid 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^ position.h:162:43: error: template argument 2 is invalid position.h:162:72: error: ‘std::uint32_t’ has not been declared 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~ position.h:162:95: error: ‘std::uint32_t’ has not been declared 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~ position.h:163:17: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 163 | inline std::uint32_t makeIndex(Square sq_k, Square sq, Piece p, COLOR c); | ^~~~~~~~ | wint_t In file included from bitboards.h:24, from position.h:24, from moves.h:24, from moves.cpp:21: types.h:228:23: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 228 | static constexpr std::uint32_t PieceSquareIndex[COLOR_NB][PIECE_NB] = { | ^~~~~~~~ | wint_t types.h: In member function ‘void EvalList::put_piece(PieceId, Square, Piece)’: types.h:307:49: error: ‘PieceSquareIndex’ was not declared in this scope; did you mean ‘PieceSquare’? 307 | pieceListFw[piece_id] = PieceSquare(PieceSquareIndex[WHITE][pc] + sq); | ^~~~~~~~~~~~~~~~ | PieceSquare In file included from position.h:25: nnue.h: At global scope: nnue.h:56:10: error: ‘int32_t’ in namespace ‘std’ does not name a type 56 | std::int32_t transform(Position & pos, std::uint8_t * outBuffer, const std::size_t bucket); | ^~~~~~~ nnue.h:70:11: error: ‘std::int32_t’ has not been declared 70 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> class ClippedReLU { | ^~~ nnue.h:70:41: error: ‘std::int32_t’ has not been declared 70 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> class ClippedReLU { | ^~~ nnue.h:73:24: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 73 | inline static std::uint8_t * propagate(std::int32_t * features, char * outBuffer); | ^~~~~~~ | wint_t nnue.h:74:24: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 74 | inline static std::uint8_t * propagateSqrt(std::int32_t* features, char* outBuffer); | ^~~~~~~ | wint_t nnue.h:77:11: error: ‘std::int32_t’ has not been declared 77 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> class Layer { | ^~~ nnue.h:77:42: error: ‘std::int32_t’ has not been declared 77 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> class Layer { | ^~~ nnue.h:82:17: error: ‘int32_t’ in namespace ‘std’ does not name a type 82 | inline std::int32_t * propagate(std::uint8_t * features, char * outBuffer); | ^~~~~~~ nnue.h:85:30: error: ‘int32_t’ in namespace ‘std’ does not name a type 85 | alignas(CACHE_LINE) std::int32_t biases[OutputDimensions]; | ^~~~~~~ nnue.h:86:30: error: ‘int8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 86 | alignas(CACHE_LINE) std::int8_t weights[OutputDimensions * InputDimensions]; | ^~~~~~ | wint_t nnue.h:95:17: error: ‘int32_t’ in namespace ‘std’ does not name a type 95 | inline std::int32_t* propagate(std::uint8_t * features, char * outBuffer); | ^~~~~~~ position.h:68:10: error: ‘int16_t’ in namespace ‘std’ does not name a type 68 | std::int16_t accumulation[2][1024]; | ^~~~~~~ position.h:69:10: error: ‘int32_t’ in namespace ‘std’ does not name a type 69 | std::int32_t psqtAccumulation[2][8]; | ^~~~~~~ position.h: In member function ‘void Undo::reset()’: position.h:96:34: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 96 | std::memset(&accumulator.accumulation, 0, sizeof(accumulator.accumulation)); | ^~~~~~~~~~~~ | Accumulator position.h:96:74: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 96 | std::memset(&accumulator.accumulation, 0, sizeof(accumulator.accumulation)); | ^~~~~~~~~~~~ | Accumulator position.h:97:34: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 97 | std::memset(&accumulator.psqtAccumulation, 0, sizeof(accumulator.psqtAccumulation)); | ^~~~~~~~~~~~~~~~ | Accumulator position.h:97:74: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 97 | std::memset(&accumulator.psqtAccumulation, 0, sizeof(accumulator.psqtAccumulation)); | ^~~~~~~~~~~~~~~~ | Accumulator position.h: At global scope: position.h:161:10: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 161 | std::uint32_t getActiveIndexes(COLOR c, std::uint32_t indexes[]); | ^~~~~~~~ | wint_t position.h:162:20: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~~~~~~ | wint_t position.h:162:35: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~~~~~~ | wint_t position.h:162:43: error: template argument 1 is invalid 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^ position.h:162:43: error: template argument 2 is invalid position.h:162:72: error: ‘std::uint32_t’ has not been declared 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~ position.h:162:95: error: ‘std::uint32_t’ has not been declared 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~ position.h:163:17: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 163 | inline std::uint32_t makeIndex(Square sq_k, Square sq, Piece p, COLOR c); | ^~~~~~~~ | wint_t In file included from nnue.h:27, from nnue.cpp:20: types.h:228:23: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 228 | static constexpr std::uint32_t PieceSquareIndex[COLOR_NB][PIECE_NB] = { | ^~~~~~~~ | wint_t types.h: In member function ‘void EvalList::put_piece(PieceId, Square, Piece)’: types.h:307:49: error: ‘PieceSquareIndex’ was not declared in this scope; did you mean ‘PieceSquare’? 307 | pieceListFw[piece_id] = PieceSquare(PieceSquareIndex[WHITE][pc] + sq); | ^~~~~~~~~~~~~~~~ | PieceSquare nnue.h: At global scope: nnue.h:56:10: error: ‘int32_t’ in namespace ‘std’ does not name a type 56 | std::int32_t transform(Position & pos, std::uint8_t * outBuffer, const std::size_t bucket); | ^~~~~~~ nnue.h:70:11: error: ‘std::int32_t’ has not been declared 70 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> class ClippedReLU { | ^~~ nnue.h:70:41: error: ‘std::int32_t’ has not been declared 70 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> class ClippedReLU { | ^~~ nnue.h:73:24: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 73 | inline static std::uint8_t * propagate(std::int32_t * features, char * outBuffer); | ^~~~~~~ | wint_t nnue.h:74:24: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 74 | inline static std::uint8_t * propagateSqrt(std::int32_t* features, char* outBuffer); | ^~~~~~~ | wint_t nnue.h:77:11: error: ‘std::int32_t’ has not been declared 77 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> class Layer { | ^~~ nnue.h:77:42: error: ‘std::int32_t’ has not been declared 77 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> class Layer { | ^~~ nnue.h:82:17: error: ‘int32_t’ in namespace ‘std’ does not name a type 82 | inline std::int32_t * propagate(std::uint8_t * features, char * outBuffer); | ^~~~~~~ nnue.h:85:30: error: ‘int32_t’ in namespace ‘std’ does not name a type 85 | alignas(CACHE_LINE) std::int32_t biases[OutputDimensions]; | ^~~~~~~ nnue.h:86:30: error: ‘int8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 86 | alignas(CACHE_LINE) std::int8_t weights[OutputDimensions * InputDimensions]; | ^~~~~~ | wint_t nnue.h:95:17: error: ‘int32_t’ in namespace ‘std’ does not name a type 95 | inline std::int32_t* propagate(std::uint8_t * features, char * outBuffer); | ^~~~~~~ In file included from nnue.cpp:21: position.h:68:10: error: ‘int16_t’ in namespace ‘std’ does not name a type 68 | std::int16_t accumulation[2][1024]; | ^~~~~~~ position.h:69:10: error: ‘int32_t’ in namespace ‘std’ does not name a type 69 | std::int32_t psqtAccumulation[2][8]; | ^~~~~~~ position.h: In member function ‘void Undo::reset()’: position.h:96:34: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 96 | std::memset(&accumulator.accumulation, 0, sizeof(accumulator.accumulation)); | ^~~~~~~~~~~~ | Accumulator position.h:96:74: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 96 | std::memset(&accumulator.accumulation, 0, sizeof(accumulator.accumulation)); | ^~~~~~~~~~~~ | Accumulator position.h:97:34: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 97 | std::memset(&accumulator.psqtAccumulation, 0, sizeof(accumulator.psqtAccumulation)); | ^~~~~~~~~~~~~~~~ | Accumulator position.h:97:74: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 97 | std::memset(&accumulator.psqtAccumulation, 0, sizeof(accumulator.psqtAccumulation)); | ^~~~~~~~~~~~~~~~ | Accumulator position.h: At global scope: position.h:161:10: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 161 | std::uint32_t getActiveIndexes(COLOR c, std::uint32_t indexes[]); | ^~~~~~~~ | wint_t position.h:162:20: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~~~~~~ | wint_t position.h:162:35: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~~~~~~ | wint_t position.h:162:43: error: template argument 1 is invalid 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^ position.h:162:43: error: template argument 2 is invalid position.h:162:72: error: ‘std::uint32_t’ has not been declared 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~ position.h:162:95: error: ‘std::uint32_t’ has not been declared 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~ position.h:163:17: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 163 | inline std::uint32_t makeIndex(Square sq_k, Square sq, Piece p, COLOR c); | ^~~~~~~~ | wint_t nnue.cpp: In static member function ‘static void Evaluator::initEval(std::istream&)’: nnue.cpp:64:10: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 64 | std::uint32_t version, size, hash_value; | ^~~~~~~~ | wint_t nnue.cpp:65:42: error: ‘version’ was not declared in this scope 65 | stream.read(reinterpret_cast<char*>(&version), sizeof(version)); | ^~~~~~~ nnue.cpp:66:42: error: ‘hash_value’ was not declared in this scope 66 | stream.read(reinterpret_cast<char*>(&hash_value), sizeof(hash_value)); | ^~~~~~~~~~ nnue.cpp:67:42: error: ‘size’ was not declared in this scope; did you mean ‘std::size’? 67 | stream.read(reinterpret_cast<char*>(&size), sizeof(size)); | ^~~~ | std::size In file included from /usr/include/c++/13.2.1/string:53, from nnue.h:23: /usr/include/c++/13.2.1/bits/range_access.h:274:5: note: ‘std::size’ declared here 274 | size(const _Tp (&)[_Nm]) noexcept | ^~~~ nnue.cpp: In member function ‘int Evaluator::NnueEvaluate(Position&)’: nnue.cpp:96:30: error: ‘uint8_t’ is not a member of ‘std’; did you mean ‘wint_t’? 96 | alignas(CACHE_LINE) std::uint8_t features[1024]; | ^~~~~~~ | wint_t nnue.cpp:96:5: warning: attributes at the beginning of statement are ignored [-Wattributes] 96 | alignas(CACHE_LINE) std::uint8_t features[1024]; | ^~~~~~~~~~~~~~~~~~~ nnue.cpp:97:32: error: ‘class Transformer’ has no member named ‘transform’; did you mean ‘Transformer’? 97 | auto psqt = m_transformer->transform(pos, features, bucket); | ^~~~~~~~~ | Transformer nnue.cpp:97:47: error: ‘features’ was not declared in this scope 97 | auto psqt = m_transformer->transform(pos, features, bucket); | ^~~~~~~~ nnue.cpp:104:39: error: ‘class LayeredNetwork’ has no member named ‘propagate’ 104 | auto output = m_networks[bucket]->propagate(features, buffer); | ^~~~~~~~~ nnue.cpp: In constructor ‘Transformer::Transformer(std::istream&)’: nnue.cpp:120:10: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 120 | std::uint32_t header; | ^~~~~~~~ | wint_t nnue.cpp:121:37: error: ‘header’ was not declared in this scope 121 | s.read(reinterpret_cast<char*>(&header), sizeof(header)); | ^~~~~~ nnue.cpp: At global scope: nnue.cpp:132:6: error: ‘int32_t’ in namespace ‘std’ does not name a type 132 | std::int32_t Transformer::transform(Position & pos, std::uint8_t * outBuffer, const std::size_t bucket) { | ^~~~~~~ nnue.cpp: In member function ‘void Transformer::incremental(Position&)’: nnue.cpp:189:30: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 189 | alignas(CACHE_LINE) std::uint32_t added[32]; | ^~~~~~~~ | wint_t nnue.cpp:189:5: warning: attributes at the beginning of statement are ignored [-Wattributes] 189 | alignas(CACHE_LINE) std::uint32_t added[32]; | ^~~~~~~~~~~~~~~~~~~ nnue.cpp:190:30: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 190 | alignas(CACHE_LINE) std::uint32_t removed[32]; | ^~~~~~~~ | wint_t nnue.cpp:190:5: warning: attributes at the beginning of statement are ignored [-Wattributes] 190 | alignas(CACHE_LINE) std::uint32_t removed[32]; | ^~~~~~~~~~~~~~~~~~~ nnue.cpp:192:20: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 192 | std::pair<std::uint32_t, std::uint32_t> pa; | ^~~~~~~~ | wint_t nnue.cpp:192:35: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 192 | std::pair<std::uint32_t, std::uint32_t> pa; | ^~~~~~~~ | wint_t nnue.cpp:192:43: error: template argument 1 is invalid 192 | std::pair<std::uint32_t, std::uint32_t> pa; | ^ nnue.cpp:192:43: error: template argument 2 is invalid nnue.cpp:200:20: error: request for member ‘first’ in ‘pa’, which is of non-class type ‘int’ 200 | pa.first = pos.getActiveIndexes(c, added); | ^~~~~ nnue.cpp:200:32: error: ‘class Position’ has no member named ‘getActiveIndexes’ 200 | pa.first = pos.getActiveIndexes(c, added); | ^~~~~~~~~~~~~~~~ nnue.cpp:200:52: error: ‘added’ was not declared in this scope 200 | pa.first = pos.getActiveIndexes(c, added); | ^~~~~ nnue.cpp:202:47: error: ‘added’ was not declared in this scope 202 | pa = pos.getChangedIndexes(c, added, removed); | ^~~~~ nnue.cpp:202:54: error: ‘removed’ was not declared in this scope; did you mean ‘remove’? 202 | pa = pos.getChangedIndexes(c, added, removed); | ^~~~~~~ | remove nnue.cpp:206:14: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 206 | std::uint32_t chunks = HalfDimensions / (SIMD_WIDTH / 2); | ^~~~~~~~ | wint_t nnue.cpp:207:69: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 207 | auto accumulation = reinterpret_cast<__m256i*>(&accumulator.accumulation[c][0]); | ^~~~~~~~~~~~ | Accumulator nnue.cpp:211:37: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 211 | std::memcpy(accumulator.accumulation[c], biases, HalfDimensions * sizeof(std::int16_t)); | ^~~~~~~~~~~~ | Accumulator nnue.cpp:211:91: error: ‘int16_t’ is not a member of ‘std’; did you mean ‘int16_t’? 211 | std::memcpy(accumulator.accumulation[c], biases, HalfDimensions * sizeof(std::int16_t)); | ^~~~~~~ In file included from /usr/include/sys/types.h:155, from /usr/include/stdlib.h:514, from /usr/include/c++/13.2.1/cstdlib:79, from /usr/include/c++/13.2.1/ext/string_conversions.h:43, from /usr/include/c++/13.2.1/bits/basic_string.h:4097, from /usr/include/c++/13.2.1/string:54: /usr/include/bits/stdint-intn.h:25:19: note: ‘int16_t’ declared here 25 | typedef __int16_t int16_t; | ^~~~~~~ nnue.cpp:214:29: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 214 | accumulator.psqtAccumulation[c][k] = 0; | ^~~~~~~~~~~~~~~~ | Accumulator nnue.cpp:217:37: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 217 | std::memcpy(accumulator.accumulation[c], prev_accumulator.accumulation[c], HalfDimensions * sizeof(std::int16_t)); | ^~~~~~~~~~~~ | Accumulator nnue.cpp:217:71: error: ‘const struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 217 | std::memcpy(accumulator.accumulation[c], prev_accumulator.accumulation[c], HalfDimensions * sizeof(std::int16_t)); | ^~~~~~~~~~~~ | Accumulator nnue.cpp:217:117: error: ‘int16_t’ is not a member of ‘std’; did you mean ‘int16_t’? 217 | std::memcpy(accumulator.accumulation[c], prev_accumulator.accumulation[c], HalfDimensions * sizeof(std::int16_t)); | ^~~~~~~ /usr/include/bits/stdint-intn.h:25:19: note: ‘int16_t’ declared here 25 | typedef __int16_t int16_t; | ^~~~~~~ nnue.cpp:220:29: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 220 | accumulator.psqtAccumulation[c][k] = prev_accumulator.psqtAccumulation[c][k]; | ^~~~~~~~~~~~~~~~ | Accumulator nnue.cpp:220:71: error: ‘const struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 220 | accumulator.psqtAccumulation[c][k] = prev_accumulator.psqtAccumulation[c][k]; | ^~~~~~~~~~~~~~~~ | Accumulator nnue.cpp:222:23: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 222 | for (std::uint32_t index = 0; index < pa.second; index++) { | ^~~~~~~~ | wint_t nnue.cpp:222:54: error: request for member ‘second’ in ‘pa’, which is of non-class type ‘int’ 222 | for (std::uint32_t index = 0; index < pa.second; index++) { | ^~~~~~ nnue.cpp:222:67: error: no post-increment operator for type 222 | for (std::uint32_t index = 0; index < pa.second; index++) { | ^~ nnue.cpp:223:22: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 223 | std::uint32_t offset = HalfDimensions * removed[index]; | ^~~~~~~~ | wint_t nnue.cpp:226:33: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 226 | accumulator.psqtAccumulation[c][k] -= psqts[removed[index] * PSQT_BUCKETS + k]; | ^~~~~~~~~~~~~~~~ | Accumulator nnue.cpp:226:65: error: ‘removed’ was not declared in this scope; did you mean ‘remove’? 226 | accumulator.psqtAccumulation[c][k] -= psqts[removed[index] * PSQT_BUCKETS + k]; | ^~~~~~~ | remove nnue.cpp:229:73: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 229 | auto column = reinterpret_cast<const __m256i*>(&weights[offset]); | ^~~~~~ | off_t nnue.cpp:230:27: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 230 | for (std::uint32_t j = 0; j < chunks; ++j) | ^~~~~~~~ | wint_t nnue.cpp:230:43: error: ‘j’ was not declared in this scope; did you mean ‘jn’? 230 | for (std::uint32_t j = 0; j < chunks; ++j) | ^ | jn nnue.cpp:230:47: error: ‘chunks’ was not declared in this scope 230 | for (std::uint32_t j = 0; j < chunks; ++j) | ^~~~~~ nnue.cpp:236:19: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 236 | for (std::uint32_t index = 0; index < pa.first; index++) { | ^~~~~~~~ | wint_t nnue.cpp:236:50: error: request for member ‘first’ in ‘pa’, which is of non-class type ‘int’ 236 | for (std::uint32_t index = 0; index < pa.first; index++) { | ^~~~~ nnue.cpp:236:62: error: no post-increment operator for type 236 | for (std::uint32_t index = 0; index < pa.first; index++) { | ^~ nnue.cpp:237:18: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 237 | std::uint32_t offset = HalfDimensions * added[index]; | ^~~~~~~~ | wint_t nnue.cpp:240:29: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 240 | accumulator.psqtAccumulation[c][k] += psqts[added[index] * PSQT_BUCKETS + k]; | ^~~~~~~~~~~~~~~~ | Accumulator nnue.cpp:240:61: error: ‘added’ was not declared in this scope 240 | accumulator.psqtAccumulation[c][k] += psqts[added[index] * PSQT_BUCKETS + k]; | ^~~~~ nnue.cpp:243:69: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 243 | auto column = reinterpret_cast<const __m256i*>(&weights[offset]); | ^~~~~~ | off_t nnue.cpp:244:23: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 244 | for (std::uint32_t j = 0; j < chunks; ++j) | ^~~~~~~~ | wint_t nnue.cpp:244:39: error: ‘j’ was not declared in this scope; did you mean ‘jn’? 244 | for (std::uint32_t j = 0; j < chunks; ++j) | ^ | jn nnue.cpp:244:43: error: ‘chunks’ was not declared in this scope 244 | for (std::uint32_t j = 0; j < chunks; ++j) | ^~~~~~ nnue.cpp: In member function ‘void Transformer::refresh(Position&)’: nnue.cpp:252:30: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 252 | alignas(CACHE_LINE) std::uint32_t indexes[32]; | ^~~~~~~~ | wint_t nnue.cpp:252:5: warning: attributes at the beginning of statement are ignored [-Wattributes] 252 | alignas(CACHE_LINE) std::uint32_t indexes[32]; | ^~~~~~~~~~~~~~~~~~~ nnue.cpp:257:14: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 257 | std::uint32_t ci = pos.getActiveIndexes(c, indexes); | ^~~~~~~~ | wint_t nnue.cpp:263:19: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 263 | for (std::uint32_t j = 0; j < HalfDimensions / TILE_HEIGHT; ++j) { | ^~~~~~~~ | wint_t nnue.cpp:263:35: error: ‘j’ was not declared in this scope; did you mean ‘jn’? 263 | for (std::uint32_t j = 0; j < HalfDimensions / TILE_HEIGHT; ++j) { | ^ | jn nnue.cpp:265:23: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 265 | for (std::uint32_t k = 0; k < NUM_REGS; ++k) | ^~~~~~~~ | wint_t nnue.cpp:265:39: error: ‘k’ was not declared in this scope 265 | for (std::uint32_t k = 0; k < NUM_REGS; ++k) | ^ nnue.cpp:268:23: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 268 | for (std::uint32_t index = 0; index < ci; index++) { | ^~~~~~~~ | wint_t nnue.cpp:268:51: error: ‘ci’ was not declared in this scope; did you mean ‘c’? 268 | for (std::uint32_t index = 0; index < ci; index++) { | ^~ | c nnue.cpp:268:60: error: no post-increment operator for type 268 | for (std::uint32_t index = 0; index < ci; index++) { | ^~ nnue.cpp:269:28: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 269 | const std::uint32_t offset = HalfDimensions * indexes[index] + j * TILE_HEIGHT; | ^~~~~~~~ | wint_t nnue.cpp:270:73: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 270 | auto column = reinterpret_cast<const __m256i*>(&weights[offset]); | ^~~~~~ | off_t nnue.cpp:276:68: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 276 | auto accTile = reinterpret_cast<__m256i*>(&accumulator.accumulation[c][j * TILE_HEIGHT]); | ^~~~~~~~~~~~ | Accumulator nnue.cpp:281:19: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 281 | for (std::uint32_t j = 0; j < PSQT_BUCKETS / PSQT_TILE_HEIGHT; ++j) { | ^~~~~~~~ | wint_t nnue.cpp:281:35: error: ‘j’ was not declared in this scope; did you mean ‘jn’? 281 | for (std::uint32_t j = 0; j < PSQT_BUCKETS / PSQT_TILE_HEIGHT; ++j) { | ^ | jn nnue.cpp:285:23: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 285 | for (std::uint32_t index = 0; index < ci; index++) { | ^~~~~~~~ | wint_t nnue.cpp:285:51: error: ‘ci’ was not declared in this scope; did you mean ‘c’? 285 | for (std::uint32_t index = 0; index < ci; index++) { | ^~ | c nnue.cpp:285:60: error: no post-increment operator for type 285 | for (std::uint32_t index = 0; index < ci; index++) { | ^~ nnue.cpp:286:28: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 286 | const std::uint32_t offset = PSQT_BUCKETS * indexes[index] + j * PSQT_TILE_HEIGHT; | ^~~~~~~~ | wint_t nnue.cpp:287:75: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 287 | auto columnPsqt = reinterpret_cast<const __m256i*>(&psqts[offset]); | ^~~~~~ | off_t nnue.cpp:293:72: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 293 | auto accTilePsqt = reinterpret_cast<__m256i*>(&accumulator.psqtAccumulation[c][j * PSQT_TILE_HEIGHT]); | ^~~~~~~~~~~~~~~~ | Accumulator nnue.cpp: At global scope: nnue.cpp:302:11: error: ‘std::int32_t’ has not been declared 302 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> | ^~~ nnue.cpp:302:42: error: ‘std::int32_t’ has not been declared 302 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> | ^~~ nnue.cpp:303:7: error: ‘OutputDimensions’ was not declared in this scope 303 | Layer<OutputDimensions, InputDimensions>::Layer(std::istream & s) { | ^~~~~~~~~~~~~~~~ nnue.cpp:303:25: error: ‘InputDimensions’ was not declared in this scope 303 | Layer<OutputDimensions, InputDimensions>::Layer(std::istream & s) { | ^~~~~~~~~~~~~~~ nnue.cpp:303:40: error: template argument 1 is invalid 303 | Layer<OutputDimensions, InputDimensions>::Layer(std::istream & s) { | ^ nnue.cpp:303:40: error: template argument 2 is invalid nnue.cpp:303:43: error: conflicting declaration of template ‘template<<declaration error>, <declaration error> > int Layer(std::istream&)’ 303 | Layer<OutputDimensions, InputDimensions>::Layer(std::istream & s) { | ^~~~~ nnue.h:77:78: note: previous declaration ‘template<<declaration error>, <declaration error> > class Layer’ 77 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> class Layer { | ^~~~~ nnue.cpp:311:11: error: ‘std::int32_t’ has not been declared 311 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> | ^~~ nnue.cpp:311:42: error: ‘std::int32_t’ has not been declared 311 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> | ^~~ nnue.cpp:312:13: error: ‘int32_t’ in namespace ‘std’ does not name a type 312 | inline std::int32_t * Layer<OutputDimensions, InputDimensions>::propagate(std::uint8_t * features, char * outBuffer) { | ^~~~~~~ nnue.cpp: In constructor ‘LayeredNetwork::LayeredNetwork(std::istream&)’: nnue.cpp:349:63: error: invalid user-defined conversion from ‘std::istream’ {aka ‘std::basic_istream<char>’} to ‘int’ [-fpermissive] 349 | LayeredNetwork::LayeredNetwork(std::istream & s) : inputLayer(s), hiddenLayer1(s), hiddenLayer2(s) { | ^ In file included from /usr/include/c++/13.2.1/ios:46, from /usr/include/c++/13.2.1/istream:40, from /usr/include/c++/13.2.1/fstream:40, from types.h:30: /usr/include/c++/13.2.1/bits/basic_ios.h:117:16: note: candidate is: ‘std::basic_ios<_CharT, _Traits>::operator bool() const [with _CharT = char; _Traits = std::char_traits<char>]’ (near match) 117 | explicit operator bool() const | ^~~~~~~~ /usr/include/c++/13.2.1/bits/basic_ios.h:117:16: note: return type ‘bool’ of explicit conversion function cannot be converted to ‘int’ with a qualification conversion nnue.cpp:349:80: error: invalid user-defined conversion from ‘std::istream’ {aka ‘std::basic_istream<char>’} to ‘int’ [-fpermissive] 349 | LayeredNetwork::LayeredNetwork(std::istream & s) : inputLayer(s), hiddenLayer1(s), hiddenLayer2(s) { | ^ /usr/include/c++/13.2.1/bits/basic_ios.h:117:16: note: candidate is: ‘std::basic_ios<_CharT, _Traits>::operator bool() const [with _CharT = char; _Traits = std::char_traits<char>]’ (near match) 117 | explicit operator bool() const | ^~~~~~~~ /usr/include/c++/13.2.1/bits/basic_ios.h:117:16: note: return type ‘bool’ of explicit conversion function cannot be converted to ‘int’ with a qualification conversion nnue.cpp:349:97: error: invalid user-defined conversion from ‘std::istream’ {aka ‘std::basic_istream<char>’} to ‘int’ [-fpermissive] 349 | LayeredNetwork::LayeredNetwork(std::istream & s) : inputLayer(s), hiddenLayer1(s), hiddenLayer2(s) { | ^ /usr/include/c++/13.2.1/bits/basic_ios.h:117:16: note: candidate is: ‘std::basic_ios<_CharT, _Traits>::operator bool() const [with _CharT = char; _Traits = std::char_traits<char>]’ (near match) 117 | explicit operator bool() const | ^~~~~~~~ /usr/include/c++/13.2.1/bits/basic_ios.h:117:16: note: return type ‘bool’ of explicit conversion function cannot be converted to ‘int’ with a qualification conversion nnue.cpp: At global scope: nnue.cpp:352:13: error: ‘int32_t’ in namespace ‘std’ does not name a type 352 | inline std::int32_t * LayeredNetwork::propagate(std::uint8_t * features, char * outBuffer) { | ^~~~~~~ nnue.cpp:371:11: error: ‘std::int32_t’ has not been declared 371 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> | ^~~ nnue.cpp:371:41: error: ‘std::int32_t’ has not been declared 371 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> | ^~~ nnue.cpp:372:13: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 372 | inline std::uint8_t* ClippedReLU<WeightScaleBits, InputDimensions>::propagate(std::int32_t* features, char* outBuffer) { | ^~~~~~~ | wint_t nnue.cpp:398:11: error: ‘std::int32_t’ has not been declared 398 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> | ^~~ nnue.cpp:398:41: error: ‘std::int32_t’ has not been declared 398 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> | ^~~ nnue.cpp:399:13: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 399 | inline std::uint8_t* ClippedReLU<WeightScaleBits, InputDimensions>::propagateSqrt(std::int32_t* features, char* outBuffer) | ^~~~~~~ | wint_t In file included from bitboards.h:24, from position.h:24, from moves.h:24, from notation.cpp:21: types.h:228:23: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 228 | static constexpr std::uint32_t PieceSquareIndex[COLOR_NB][PIECE_NB] = { | ^~~~~~~~ | wint_t types.h: In member function ‘void EvalList::put_piece(PieceId, Square, Piece)’: types.h:307:49: error: ‘PieceSquareIndex’ was not declared in this scope; did you mean ‘PieceSquare’? 307 | pieceListFw[piece_id] = PieceSquare(PieceSquareIndex[WHITE][pc] + sq); | ^~~~~~~~~~~~~~~~ | PieceSquare In file included from position.h:25: nnue.h: At global scope: nnue.h:56:10: error: ‘int32_t’ in namespace ‘std’ does not name a type 56 | std::int32_t transform(Position & pos, std::uint8_t * outBuffer, const std::size_t bucket); | ^~~~~~~ nnue.h:70:11: error: ‘std::int32_t’ has not been declared 70 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> class ClippedReLU { | ^~~ nnue.h:70:41: error: ‘std::int32_t’ has not been declared 70 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> class ClippedReLU { | ^~~ nnue.h:73:24: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 73 | inline static std::uint8_t * propagate(std::int32_t * features, char * outBuffer); | ^~~~~~~ | wint_t nnue.h:74:24: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 74 | inline static std::uint8_t * propagateSqrt(std::int32_t* features, char* outBuffer); | ^~~~~~~ | wint_t nnue.h:77:11: error: ‘std::int32_t’ has not been declared 77 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> class Layer { | ^~~ nnue.h:77:42: error: ‘std::int32_t’ has not been declared 77 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> class Layer { | ^~~ nnue.h:82:17: error: ‘int32_t’ in namespace ‘std’ does not name a type 82 | inline std::int32_t * propagate(std::uint8_t * features, char * outBuffer); | ^~~~~~~ nnue.h:85:30: error: ‘int32_t’ in namespace ‘std’ does not name a type 85 | alignas(CACHE_LINE) std::int32_t biases[OutputDimensions]; | ^~~~~~~ nnue.h:86:30: error: ‘int8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 86 | alignas(CACHE_LINE) std::int8_t weights[OutputDimensions * InputDimensions]; | ^~~~~~ | wint_t nnue.h:95:17: error: ‘int32_t’ in namespace ‘std’ does not name a type 95 | inline std::int32_t* propagate(std::uint8_t * features, char * outBuffer); | ^~~~~~~ position.h:68:10: error: ‘int16_t’ in namespace ‘std’ does not name a type 68 | std::int16_t accumulation[2][1024]; | ^~~~~~~ position.h:69:10: error: ‘int32_t’ in namespace ‘std’ does not name a type 69 | std::int32_t psqtAccumulation[2][8]; | ^~~~~~~ position.h: In member function ‘void Undo::reset()’: position.h:96:34: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 96 | std::memset(&accumulator.accumulation, 0, sizeof(accumulator.accumulation)); | ^~~~~~~~~~~~ | Accumulator position.h:96:74: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 96 | std::memset(&accumulator.accumulation, 0, sizeof(accumulator.accumulation)); | ^~~~~~~~~~~~ | Accumulator position.h:97:34: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 97 | std::memset(&accumulator.psqtAccumulation, 0, sizeof(accumulator.psqtAccumulation)); | ^~~~~~~~~~~~~~~~ | Accumulator position.h:97:74: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 97 | std::memset(&accumulator.psqtAccumulation, 0, sizeof(accumulator.psqtAccumulation)); | ^~~~~~~~~~~~~~~~ | Accumulator position.h: At global scope: position.h:161:10: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 161 | std::uint32_t getActiveIndexes(COLOR c, std::uint32_t indexes[]); | ^~~~~~~~ | wint_t position.h:162:20: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~~~~~~ | wint_t position.h:162:35: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~~~~~~ | wint_t position.h:162:43: error: template argument 1 is invalid 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^ position.h:162:43: error: template argument 2 is invalid position.h:162:72: error: ‘std::uint32_t’ has not been declared 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~ position.h:162:95: error: ‘std::uint32_t’ has not been declared 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~ position.h:163:17: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 163 | inline std::uint32_t makeIndex(Square sq_k, Square sq, Piece p, COLOR c); | ^~~~~~~~ | wint_t In file included from bitboards.h:24, from position.h:24, from moves.h:24, from notation.h:24, from position.cpp:21: types.h:228:23: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 228 | static constexpr std::uint32_t PieceSquareIndex[COLOR_NB][PIECE_NB] = { | ^~~~~~~~ | wint_t types.h: In member function ‘void EvalList::put_piece(PieceId, Square, Piece)’: types.h:307:49: error: ‘PieceSquareIndex’ was not declared in this scope; did you mean ‘PieceSquare’? 307 | pieceListFw[piece_id] = PieceSquare(PieceSquareIndex[WHITE][pc] + sq); | ^~~~~~~~~~~~~~~~ | PieceSquare In file included from position.h:25: nnue.h: At global scope: nnue.h:56:10: error: ‘int32_t’ in namespace ‘std’ does not name a type 56 | std::int32_t transform(Position & pos, std::uint8_t * outBuffer, const std::size_t bucket); | ^~~~~~~ nnue.h:70:11: error: ‘std::int32_t’ has not been declared 70 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> class ClippedReLU { | ^~~ nnue.h:70:41: error: ‘std::int32_t’ has not been declared 70 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> class ClippedReLU { | ^~~ nnue.h:73:24: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 73 | inline static std::uint8_t * propagate(std::int32_t * features, char * outBuffer); | ^~~~~~~ | wint_t nnue.h:74:24: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 74 | inline static std::uint8_t * propagateSqrt(std::int32_t* features, char* outBuffer); | ^~~~~~~ | wint_t nnue.h:77:11: error: ‘std::int32_t’ has not been declared 77 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> class Layer { | ^~~ nnue.h:77:42: error: ‘std::int32_t’ has not been declared 77 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> class Layer { | ^~~ nnue.h:82:17: error: ‘int32_t’ in namespace ‘std’ does not name a type 82 | inline std::int32_t * propagate(std::uint8_t * features, char * outBuffer); | ^~~~~~~ nnue.h:85:30: error: ‘int32_t’ in namespace ‘std’ does not name a type 85 | alignas(CACHE_LINE) std::int32_t biases[OutputDimensions]; | ^~~~~~~ nnue.h:86:30: error: ‘int8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 86 | alignas(CACHE_LINE) std::int8_t weights[OutputDimensions * InputDimensions]; | ^~~~~~ | wint_t nnue.h:95:17: error: ‘int32_t’ in namespace ‘std’ does not name a type 95 | inline std::int32_t* propagate(std::uint8_t * features, char * outBuffer); | ^~~~~~~ position.h:68:10: error: ‘int16_t’ in namespace ‘std’ does not name a type 68 | std::int16_t accumulation[2][1024]; | ^~~~~~~ position.h:69:10: error: ‘int32_t’ in namespace ‘std’ does not name a type 69 | std::int32_t psqtAccumulation[2][8]; | ^~~~~~~ position.h: In member function ‘void Undo::reset()’: position.h:96:34: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 96 | std::memset(&accumulator.accumulation, 0, sizeof(accumulator.accumulation)); | ^~~~~~~~~~~~ | Accumulator position.h:96:74: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 96 | std::memset(&accumulator.accumulation, 0, sizeof(accumulator.accumulation)); | ^~~~~~~~~~~~ | Accumulator position.h:97:34: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 97 | std::memset(&accumulator.psqtAccumulation, 0, sizeof(accumulator.psqtAccumulation)); | ^~~~~~~~~~~~~~~~ | Accumulator position.h:97:74: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 97 | std::memset(&accumulator.psqtAccumulation, 0, sizeof(accumulator.psqtAccumulation)); | ^~~~~~~~~~~~~~~~ | Accumulator position.h: At global scope: position.h:161:10: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 161 | std::uint32_t getActiveIndexes(COLOR c, std::uint32_t indexes[]); | ^~~~~~~~ | wint_t position.h:162:20: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~~~~~~ | wint_t position.h:162:35: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~~~~~~ | wint_t position.h:162:43: error: template argument 1 is invalid 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^ position.h:162:43: error: template argument 2 is invalid position.h:162:72: error: ‘std::uint32_t’ has not been declared 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~ position.h:162:95: error: ‘std::uint32_t’ has not been declared 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~ position.h:163:17: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 163 | inline std::uint32_t makeIndex(Square sq_k, Square sq, Piece p, COLOR c); | ^~~~~~~~ | wint_t position.cpp:890:6: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 890 | std::uint32_t Position::getActiveIndexes(COLOR c, std::uint32_t indexes[]) { | ^~~~~~~~ | wint_t position.cpp:907:16: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 907 | std::pair<std::uint32_t, std::uint32_t> Position::getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]) { | ^~~~~~~~ | wint_t position.cpp:907:31: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 907 | std::pair<std::uint32_t, std::uint32_t> Position::getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]) { | ^~~~~~~~ | wint_t position.cpp:907:39: error: template argument 1 is invalid 907 | std::pair<std::uint32_t, std::uint32_t> Position::getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]) { | ^ position.cpp:907:39: error: template argument 2 is invalid position.cpp:907:78: error: ‘std::uint32_t’ has not been declared 907 | std::pair<std::uint32_t, std::uint32_t> Position::getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]) { | ^~~ position.cpp:907:101: error: ‘std::uint32_t’ has not been declared 907 | std::pair<std::uint32_t, std::uint32_t> Position::getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]) { | ^~~ position.cpp: In member function ‘int Position::getChangedIndexes(COLOR, int*, int*)’: position.cpp:915:10: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 915 | std::uint32_t ca = 0; | ^~~~~~~~ | wint_t position.cpp:916:10: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 916 | std::uint32_t cr = 0; | ^~~~~~~~ | wint_t position.cpp:923:21: error: ‘cr’ was not declared in this scope; did you mean ‘c’? 923 | removed[cr++] = makeIndex(kingSq, FLIP[c][sq], dp.old_piece[i].piece, c); | ^~ | c position.cpp:923:29: error: ‘makeIndex’ was not declared in this scope; did you mean ‘MatIndex’? 923 | removed[cr++] = makeIndex(kingSq, FLIP[c][sq], dp.old_piece[i].piece, c); | ^~~~~~~~~ | MatIndex position.cpp:930:19: error: ‘ca’ was not declared in this scope; did you mean ‘c’? 930 | added[ca++] = makeIndex(kingSq, FLIP[c][sq], dp.new_piece[i].piece, c); | ^~ | c position.cpp:930:27: error: ‘makeIndex’ was not declared in this scope; did you mean ‘MatIndex’? 930 | added[ca++] = makeIndex(kingSq, FLIP[c][sq], dp.new_piece[i].piece, c); | ^~~~~~~~~ | MatIndex position.cpp:934:14: error: ‘ca’ was not declared in this scope; did you mean ‘c’? 934 | return { ca, cr }; | ^~ | c position.cpp:934:18: error: ‘cr’ was not declared in this scope; did you mean ‘c’? 934 | return { ca, cr }; | ^~ | c position.cpp:934:21: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in return 934 | return { ca, cr }; | ^ position.cpp: At global scope: position.cpp:942:13: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 942 | inline std::uint32_t Position::makeIndex(Square sq_k, Square sq, Piece p, COLOR c) { | ^~~~~~~~ | wint_t In file included from nnue.h:27, from search.cpp:21: types.h:228:23: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 228 | static constexpr std::uint32_t PieceSquareIndex[COLOR_NB][PIECE_NB] = { | ^~~~~~~~ | wint_t types.h: In member function ‘void EvalList::put_piece(PieceId, Square, Piece)’: types.h:307:49: error: ‘PieceSquareIndex’ was not declared in this scope; did you mean ‘PieceSquare’? 307 | pieceListFw[piece_id] = PieceSquare(PieceSquareIndex[WHITE][pc] + sq); | ^~~~~~~~~~~~~~~~ | PieceSquare nnue.h: At global scope: nnue.h:56:10: error: ‘int32_t’ in namespace ‘std’ does not name a type 56 | std::int32_t transform(Position & pos, std::uint8_t * outBuffer, const std::size_t bucket); | ^~~~~~~ nnue.h:70:11: error: ‘std::int32_t’ has not been declared 70 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> class ClippedReLU { | ^~~ nnue.h:70:41: error: ‘std::int32_t’ has not been declared 70 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> class ClippedReLU { | ^~~ nnue.h:73:24: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 73 | inline static std::uint8_t * propagate(std::int32_t * features, char * outBuffer); | ^~~~~~~ | wint_t nnue.h:74:24: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 74 | inline static std::uint8_t * propagateSqrt(std::int32_t* features, char* outBuffer); | ^~~~~~~ | wint_t nnue.h:77:11: error: ‘std::int32_t’ has not been declared 77 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> class Layer { | ^~~ nnue.h:77:42: error: ‘std::int32_t’ has not been declared 77 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> class Layer { | ^~~ nnue.h:82:17: error: ‘int32_t’ in namespace ‘std’ does not name a type 82 | inline std::int32_t * propagate(std::uint8_t * features, char * outBuffer); | ^~~~~~~ nnue.h:85:30: error: ‘int32_t’ in namespace ‘std’ does not name a type 85 | alignas(CACHE_LINE) std::int32_t biases[OutputDimensions]; | ^~~~~~~ nnue.h:86:30: error: ‘int8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 86 | alignas(CACHE_LINE) std::int8_t weights[OutputDimensions * InputDimensions]; | ^~~~~~ | wint_t nnue.h:95:17: error: ‘int32_t’ in namespace ‘std’ does not name a type 95 | inline std::int32_t* propagate(std::uint8_t * features, char * outBuffer); | ^~~~~~~ In file included from moves.h:24, from search.cpp:22: position.h:68:10: error: ‘int16_t’ in namespace ‘std’ does not name a type 68 | std::int16_t accumulation[2][1024]; | ^~~~~~~ position.h:69:10: error: ‘int32_t’ in namespace ‘std’ does not name a type 69 | std::int32_t psqtAccumulation[2][8]; | ^~~~~~~ position.h: In member function ‘void Undo::reset()’: position.h:96:34: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 96 | std::memset(&accumulator.accumulation, 0, sizeof(accumulator.accumulation)); | ^~~~~~~~~~~~ | Accumulator position.h:96:74: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 96 | std::memset(&accumulator.accumulation, 0, sizeof(accumulator.accumulation)); | ^~~~~~~~~~~~ | Accumulator position.h:97:34: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 97 | std::memset(&accumulator.psqtAccumulation, 0, sizeof(accumulator.psqtAccumulation)); | ^~~~~~~~~~~~~~~~ | Accumulator position.h:97:74: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 97 | std::memset(&accumulator.psqtAccumulation, 0, sizeof(accumulator.psqtAccumulation)); | ^~~~~~~~~~~~~~~~ | Accumulator position.h: At global scope: position.h:161:10: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 161 | std::uint32_t getActiveIndexes(COLOR c, std::uint32_t indexes[]); | ^~~~~~~~ | wint_t position.h:162:20: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~~~~~~ | wint_t position.h:162:35: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~~~~~~ | wint_t position.h:162:43: error: template argument 1 is invalid 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^ position.h:162:43: error: template argument 2 is invalid position.h:162:72: error: ‘std::uint32_t’ has not been declared 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~ position.h:162:95: error: ‘std::uint32_t’ has not been declared 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~ position.h:163:17: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 163 | inline std::uint32_t makeIndex(Square sq_k, Square sq, Piece p, COLOR c); | ^~~~~~~~ | wint_t In file included from time.h:23, from time.cpp:20: types.h:228:23: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 228 | static constexpr std::uint32_t PieceSquareIndex[COLOR_NB][PIECE_NB] = { | ^~~~~~~~ | wint_t types.h: In member function ‘void EvalList::put_piece(PieceId, Square, Piece)’: types.h:307:49: error: ‘PieceSquareIndex’ was not declared in this scope; did you mean ‘PieceSquare’? 307 | pieceListFw[piece_id] = PieceSquare(PieceSquareIndex[WHITE][pc] + sq); | ^~~~~~~~~~~~~~~~ | PieceSquare In file included from bitboards.h:24, from position.h:24, from tt.h:23, from tt.cpp:20: types.h:228:23: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 228 | static constexpr std::uint32_t PieceSquareIndex[COLOR_NB][PIECE_NB] = { | ^~~~~~~~ | wint_t types.h: In member function ‘void EvalList::put_piece(PieceId, Square, Piece)’: types.h:307:49: error: ‘PieceSquareIndex’ was not declared in this scope; did you mean ‘PieceSquare’? 307 | pieceListFw[piece_id] = PieceSquare(PieceSquareIndex[WHITE][pc] + sq); | ^~~~~~~~~~~~~~~~ | PieceSquare In file included from position.h:25: nnue.h: At global scope: nnue.h:56:10: error: ‘int32_t’ in namespace ‘std’ does not name a type 56 | std::int32_t transform(Position & pos, std::uint8_t * outBuffer, const std::size_t bucket); | ^~~~~~~ nnue.h:70:11: error: ‘std::int32_t’ has not been declared 70 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> class ClippedReLU { | ^~~ nnue.h:70:41: error: ‘std::int32_t’ has not been declared 70 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> class ClippedReLU { | ^~~ nnue.h:73:24: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 73 | inline static std::uint8_t * propagate(std::int32_t * features, char * outBuffer); | ^~~~~~~ | wint_t nnue.h:74:24: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 74 | inline static std::uint8_t * propagateSqrt(std::int32_t* features, char* outBuffer); | ^~~~~~~ | wint_t nnue.h:77:11: error: ‘std::int32_t’ has not been declared 77 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> class Layer { | ^~~ nnue.h:77:42: error: ‘std::int32_t’ has not been declared 77 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> class Layer { | ^~~ nnue.h:82:17: error: ‘int32_t’ in namespace ‘std’ does not name a type 82 | inline std::int32_t * propagate(std::uint8_t * features, char * outBuffer); | ^~~~~~~ nnue.h:85:30: error: ‘int32_t’ in namespace ‘std’ does not name a type 85 | alignas(CACHE_LINE) std::int32_t biases[OutputDimensions]; | ^~~~~~~ nnue.h:86:30: error: ‘int8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 86 | alignas(CACHE_LINE) std::int8_t weights[OutputDimensions * InputDimensions]; | ^~~~~~ | wint_t nnue.h:95:17: error: ‘int32_t’ in namespace ‘std’ does not name a type 95 | inline std::int32_t* propagate(std::uint8_t * features, char * outBuffer); | ^~~~~~~ position.h:68:10: error: ‘int16_t’ in namespace ‘std’ does not name a type 68 | std::int16_t accumulation[2][1024]; | ^~~~~~~ position.h:69:10: error: ‘int32_t’ in namespace ‘std’ does not name a type 69 | std::int32_t psqtAccumulation[2][8]; | ^~~~~~~ position.h: In member function ‘void Undo::reset()’: position.h:96:34: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 96 | std::memset(&accumulator.accumulation, 0, sizeof(accumulator.accumulation)); | ^~~~~~~~~~~~ | Accumulator position.h:96:74: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 96 | std::memset(&accumulator.accumulation, 0, sizeof(accumulator.accumulation)); | ^~~~~~~~~~~~ | Accumulator position.h:97:34: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 97 | std::memset(&accumulator.psqtAccumulation, 0, sizeof(accumulator.psqtAccumulation)); | ^~~~~~~~~~~~~~~~ | Accumulator position.h:97:74: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 97 | std::memset(&accumulator.psqtAccumulation, 0, sizeof(accumulator.psqtAccumulation)); | ^~~~~~~~~~~~~~~~ | Accumulator position.h: At global scope: position.h:161:10: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 161 | std::uint32_t getActiveIndexes(COLOR c, std::uint32_t indexes[]); | ^~~~~~~~ | wint_t position.h:162:20: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~~~~~~ | wint_t position.h:162:35: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~~~~~~ | wint_t position.h:162:43: error: template argument 1 is invalid 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^ position.h:162:43: error: template argument 2 is invalid position.h:162:72: error: ‘std::uint32_t’ has not been declared 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~ position.h:162:95: error: ‘std::uint32_t’ has not been declared 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~ position.h:163:17: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 163 | inline std::uint32_t makeIndex(Square sq_k, Square sq, Piece p, COLOR c); | ^~~~~~~~ | wint_t In file included from bitboards.h:24, from position.h:24, from moves.h:24, from uci.h:23, from uci.cpp:20: types.h:228:23: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 228 | static constexpr std::uint32_t PieceSquareIndex[COLOR_NB][PIECE_NB] = { | ^~~~~~~~ | wint_t types.h: In member function ‘void EvalList::put_piece(PieceId, Square, Piece)’: types.h:307:49: error: ‘PieceSquareIndex’ was not declared in this scope; did you mean ‘PieceSquare’? 307 | pieceListFw[piece_id] = PieceSquare(PieceSquareIndex[WHITE][pc] + sq); | ^~~~~~~~~~~~~~~~ | PieceSquare In file included from position.h:25: nnue.h: At global scope: nnue.h:56:10: error: ‘int32_t’ in namespace ‘std’ does not name a type 56 | std::int32_t transform(Position & pos, std::uint8_t * outBuffer, const std::size_t bucket); | ^~~~~~~ nnue.h:70:11: error: ‘std::int32_t’ has not been declared 70 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> class ClippedReLU { | ^~~ nnue.h:70:41: error: ‘std::int32_t’ has not been declared 70 | template <std::int32_t WeightScaleBits, std::int32_t InputDimensions> class ClippedReLU { | ^~~ nnue.h:73:24: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 73 | inline static std::uint8_t * propagate(std::int32_t * features, char * outBuffer); | ^~~~~~~ | wint_t nnue.h:74:24: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 74 | inline static std::uint8_t * propagateSqrt(std::int32_t* features, char* outBuffer); | ^~~~~~~ | wint_t nnue.h:77:11: error: ‘std::int32_t’ has not been declared 77 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> class Layer { | ^~~ nnue.h:77:42: error: ‘std::int32_t’ has not been declared 77 | template <std::int32_t OutputDimensions, std::int32_t InputDimensions> class Layer { | ^~~ nnue.h:82:17: error: ‘int32_t’ in namespace ‘std’ does not name a type 82 | inline std::int32_t * propagate(std::uint8_t * features, char * outBuffer); | ^~~~~~~ nnue.h:85:30: error: ‘int32_t’ in namespace ‘std’ does not name a type 85 | alignas(CACHE_LINE) std::int32_t biases[OutputDimensions]; | ^~~~~~~ nnue.h:86:30: error: ‘int8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 86 | alignas(CACHE_LINE) std::int8_t weights[OutputDimensions * InputDimensions]; | ^~~~~~ | wint_t nnue.h:95:17: error: ‘int32_t’ in namespace ‘std’ does not name a type 95 | inline std::int32_t* propagate(std::uint8_t * features, char * outBuffer); | ^~~~~~~ position.h:68:10: error: ‘int16_t’ in namespace ‘std’ does not name a type 68 | std::int16_t accumulation[2][1024]; | ^~~~~~~ position.h:69:10: error: ‘int32_t’ in namespace ‘std’ does not name a type 69 | std::int32_t psqtAccumulation[2][8]; | ^~~~~~~ position.h: In member function ‘void Undo::reset()’: position.h:96:34: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 96 | std::memset(&accumulator.accumulation, 0, sizeof(accumulator.accumulation)); | ^~~~~~~~~~~~ | Accumulator position.h:96:74: error: ‘struct Accumulator’ has no member named ‘accumulation’; did you mean ‘Accumulator’? 96 | std::memset(&accumulator.accumulation, 0, sizeof(accumulator.accumulation)); | ^~~~~~~~~~~~ | Accumulator position.h:97:34: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 97 | std::memset(&accumulator.psqtAccumulation, 0, sizeof(accumulator.psqtAccumulation)); | ^~~~~~~~~~~~~~~~ | Accumulator position.h:97:74: error: ‘struct Accumulator’ has no member named ‘psqtAccumulation’; did you mean ‘Accumulator’? 97 | std::memset(&accumulator.psqtAccumulation, 0, sizeof(accumulator.psqtAccumulation)); | ^~~~~~~~~~~~~~~~ | Accumulator position.h: At global scope: position.h:161:10: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 161 | std::uint32_t getActiveIndexes(COLOR c, std::uint32_t indexes[]); | ^~~~~~~~ | wint_t position.h:162:20: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~~~~~~ | wint_t position.h:162:35: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’? 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~~~~~~ | wint_t position.h:162:43: error: template argument 1 is invalid 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^ position.h:162:43: error: template argument 2 is invalid position.h:162:72: error: ‘std::uint32_t’ has not been declared 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~ position.h:162:95: error: ‘std::uint32_t’ has not been declared 162 | std::pair<std::uint32_t, std::uint32_t> getChangedIndexes(COLOR c, std::uint32_t added[], std::uint32_t removed[]); | ^~~ position.h:163:17: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 163 | inline std::uint32_t makeIndex(Square sq_k, Square sq, Piece p, COLOR c); | ^~~~~~~~ | wint_t make: *** [makefile:35: basic] Error 1