clang++ -O3 -march=native -ffast-math -funroll-loops -std=c++20 -static -DNDEBUG -DEVALFILE_PATH=\"/home/ksw0518/OpenBench/Client/Networks/4F98A50D\" ./src/board.cpp ./src/nnue.cpp -o Prelude-6DAD9D5A-4F98A50D
In file included from ./src/board.cpp:5:
In file included from ./src/board.h:3:
In file included from ./src/movegen.h:3:
./src/types.h:8:13: error: unknown type name 'uint64_t'
8 | using u64 = uint64_t;
| ^
./src/types.h:9:13: error: unknown type name 'uint32_t'
9 | using u32 = uint32_t;
| ^
./src/types.h:10:13: error: unknown type name 'uint16_t'
10 | using u16 = uint16_t;
| ^
./src/types.h:11:12: error: unknown type name 'uint8_t'
11 | using u8 = uint8_t;
| ^
./src/types.h:29:11: error: unknown type name 'u64'; did you mean 'i64'?
29 | constexpr u64 INF = std::numeric_limits<u64>::max();
| ^~~
| i64
./src/types.h:13:7: note: 'i64' declared here
13 | using i64 = int64_t;
| ^
./src/types.h:29:41: error: unknown type name 'u64'; did you mean 'i64'?
29 | constexpr u64 INF = std::numeric_limits<u64>::max();
| ^~~
| i64
./src/types.h:13:7: note: 'i64' declared here
13 | using i64 = int64_t;
| ^
./src/types.h:29:26: error: implicit instantiation of undefined template 'std::numeric_limits<long>'
29 | constexpr u64 INF = std::numeric_limits<u64>::max();
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/max_size_type.h:53:10: note: template is declared here
53 | struct numeric_limits;
| ^
In file included from ./src/board.cpp:5:
In file included from ./src/board.h:3:
In file included from ./src/movegen.h:3:
./src/types.h:30:30: error: implicit instantiation of undefined template 'std::numeric_limits<int>'
30 | constexpr int INF_INT = std::numeric_limits<int>::max();
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/max_size_type.h:53:10: note: template is declared here
53 | struct numeric_limits;
| ^
In file included from ./src/board.cpp:5:
In file included from ./src/board.h:3:
In file included from ./src/movegen.h:3:
./src/types.h:31:30: error: implicit instantiation of undefined template 'std::numeric_limits<short>'
31 | constexpr int INF_I16 = std::numeric_limits<i16>::max();
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/max_size_type.h:53:10: note: template is declared here
53 | struct numeric_limits;
| ^
In file included from ./src/board.cpp:5:
In file included from ./src/board.h:3:
In file included from ./src/movegen.h:3:
./src/types.h:95:5: error: unknown type name 'uint32_t'
95 | uint32_t i;
| ^
In file included from ./src/board.cpp:5:
In file included from ./src/board.h:3:
In file included from ./src/movegen.h:4:
In file included from ./src/utils.h:8:
./src/precomputed.h:8:37: error: unknown type name 'u64'; did you mean 'i64'?
8 | inline static array<array<array<u64, 64>, 12>, 2> zobrist;
| ^~~
| i64
./src/types.h:13:7: note: 'i64' declared here
13 | using i64 = int64_t;
| ^
In file included from ./src/board.cpp:5:
In file included from ./src/board.h:3:
In file included from ./src/movegen.h:4:
In file included from ./src/utils.h:8:
./src/precomputed.h:10:25: error: unknown type name 'u64'; did you mean 'i64'?
10 | inline static array<u64, 65> zobristEP;
| ^~~
| i64
./src/types.h:13:7: note: 'i64' declared here
13 | using i64 = int64_t;
| ^
In file included from ./src/board.cpp:5:
In file included from ./src/board.h:3:
In file included from ./src/movegen.h:4:
In file included from ./src/utils.h:8:
./src/precomputed.h:11:25: error: unknown type name 'u64'; did you mean 'i64'?
11 | inline static array<u64, 16> zobristCastling;
| ^~~
| i64
./src/types.h:13:7: note: 'i64' declared here
13 | using i64 = int64_t;
| ^
In file included from ./src/board.cpp:5:
In file included from ./src/board.h:3:
In file included from ./src/movegen.h:4:
In file included from ./src/utils.h:8:
./src/precomputed.h:12:25: error: unknown type name 'u64'; did you mean 'i64'?
12 | inline static array<u64, 2> zobristSide;
| ^~~
| i64
./src/types.h:13:7: note: 'i64' declared here
13 | using i64 = int64_t;
| ^
In file included from ./src/board.cpp:5:
In file included from ./src/board.h:3:
In file included from ./src/movegen.h:4:
In file included from ./src/utils.h:8:
./src/precomputed.h:13:29: error: unknown type name 'u64'; did you mean 'i64'?
13 | inline static constexpr u64 isOnA = 0x101010101010101;
| ^~~
| i64
./src/types.h:13:7: note: 'i64' declared here
13 | using i64 = int64_t;
| ^
In file included from ./src/board.cpp:5:
In file included from ./src/board.h:3:
In file included from ./src/movegen.h:4:
In file included from ./src/utils.h:8:
./src/precomputed.h:14:29: error: unknown type name 'u64'; did you mean 'i64'?
14 | inline static constexpr u64 isOnB = 0x202020202020202;
| ^~~
| i64
./src/types.h:13:7: note: 'i64' declared here
13 | using i64 = int64_t;
| ^
In file included from ./src/board.cpp:5:
In file included from ./src/board.h:3:
In file included from ./src/movegen.h:4:
In file included from ./src/utils.h:8:
./src/precomputed.h:15:29: error: unknown type name 'u64'; did you mean 'i64'?
15 | inline static constexpr u64 isOnC = 0x404040404040404;
| ^~~
| i64
./src/types.h:13:7: note: 'i64' declared here
13 | using i64 = int64_t;
| ^
In file included from ./src/board.cpp:5:
In file included from ./src/board.h:3:
In file included from ./src/movegen.h:4:
In file included from ./src/utils.h:8:
./src/precomputed.h:16:29: error: unknown type name 'u64'; did you mean 'i64'?
16 | inline static constexpr u64 isOnD = 0x808080808080808;
| ^~~
| i64
./src/types.h:13:7: note: 'i64' declared here
13 | using i64 = int64_t;
| ^
In file included from ./src/board.cpp:5:
In file included from ./src/board.h:3:
In file included from ./src/movegen.h:4:
In file included from ./src/utils.h:8:
./src/precomputed.h:17:29: error: unknown type name 'u64'; did you mean 'i64'?
17 | inline static constexpr u64 isOnE = 0x1010101010101010;
| ^~~
| i64
./src/types.h:13:7: note: 'i64' declared here
13 | using i64 = int64_t;
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
In file included from ./src/nnue.cpp:4:
In file included from ./src/nnue.h:3:
./src/types.h:8:13: error: unknown type name 'uint64_t'
8 | using u64 = uint64_t;
| ^
./src/types.h:9:13: error: unknown type name 'uint32_t'
9 | using u32 = uint32_t;
| ^
./src/types.h:10:13: error: unknown type name 'uint16_t'
10 | using u16 = uint16_t;
| ^
./src/types.h:11:12: error: unknown type name 'uint8_t'
11 | using u8 = uint8_t;
| ^
./src/types.h:29:11: error: unknown type name 'u64'; did you mean 'i64'?
29 | constexpr u64 INF = std::numeric_limits<u64>::max();
| ^~~
| i64
./src/types.h:13:7: note: 'i64' declared here
13 | using i64 = int64_t;
| ^
./src/types.h:29:41: error: unknown type name 'u64'; did you mean 'i64'?
29 | constexpr u64 INF = std::numeric_limits<u64>::max();
| ^~~
| i64
./src/types.h:13:7: note: 'i64' declared here
13 | using i64 = int64_t;
| ^
./src/types.h:29:26: error: implicit instantiation of undefined template 'std::numeric_limits<long>'
29 | constexpr u64 INF = std::numeric_limits<u64>::max();
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/max_size_type.h:53:10: note: template is declared here
53 | struct numeric_limits;
| ^
In file included from ./src/nnue.cpp:4:
In file included from ./src/nnue.h:3:
./src/types.h:30:30: error: implicit instantiation of undefined template 'std::numeric_limits<int>'
30 | constexpr int INF_INT = std::numeric_limits<int>::max();
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/max_size_type.h:53:10: note: template is declared here
53 | struct numeric_limits;
| ^
In file included from ./src/nnue.cpp:4:
In file included from ./src/nnue.h:3:
./src/types.h:31:30: error: implicit instantiation of undefined template 'std::numeric_limits<short>'
31 | constexpr int INF_I16 = std::numeric_limits<i16>::max();
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/max_size_type.h:53:10: note: template is declared here
53 | struct numeric_limits;
| ^
In file included from ./src/nnue.cpp:4:
In file included from ./src/nnue.h:3:
./src/types.h:95:5: error: unknown type name 'uint32_t'
95 | uint32_t i;
| ^
In file included from ./src/nnue.cpp:4:
In file included from ./src/nnue.h:4:
In file included from ./src/utils.h:8:
./src/precomputed.h:8:37: error: unknown type name 'u64'; did you mean 'i64'?
8 | inline static array<array<array<u64, 64>, 12>, 2> zobrist;
| ^~~
| i64
./src/types.h:13:7: note: 'i64' declared here
13 | using i64 = int64_t;
| ^
In file included from ./src/nnue.cpp:4:
In file included from ./src/nnue.h:4:
In file included from ./src/utils.h:8:
./src/precomputed.h:10:25: error: unknown type name 'u64'; did you mean 'i64'?
10 | inline static array<u64, 65> zobristEP;
| ^~~
| i64
./src/types.h:13:7: note: 'i64' declared here
13 | using i64 = int64_t;
| ^
In file included from ./src/nnue.cpp:4:
In file included from ./src/nnue.h:4:
In file included from ./src/utils.h:8:
./src/precomputed.h:11:25: error: unknown type name 'u64'; did you mean 'i64'?
11 | inline static array<u64, 16> zobristCastling;
| ^~~
| i64
./src/types.h:13:7: note: 'i64' declared here
13 | using i64 = int64_t;
| ^
In file included from ./src/nnue.cpp:4:
In file included from ./src/nnue.h:4:
In file included from ./src/utils.h:8:
./src/precomputed.h:12:25: error: unknown type name 'u64'; did you mean 'i64'?
12 | inline static array<u64, 2> zobristSide;
| ^~~
| i64
./src/types.h:13:7: note: 'i64' declared here
13 | using i64 = int64_t;
| ^
In file included from ./src/nnue.cpp:4:
In file included from ./src/nnue.h:4:
In file included from ./src/utils.h:8:
./src/precomputed.h:13:29: error: unknown type name 'u64'; did you mean 'i64'?
13 | inline static constexpr u64 isOnA = 0x101010101010101;
| ^~~
| i64
./src/types.h:13:7: note: 'i64' declared here
13 | using i64 = int64_t;
| ^
In file included from ./src/nnue.cpp:4:
In file included from ./src/nnue.h:4:
In file included from ./src/utils.h:8:
./src/precomputed.h:14:29: error: unknown type name 'u64'; did you mean 'i64'?
14 | inline static constexpr u64 isOnB = 0x202020202020202;
| ^~~
| i64
./src/types.h:13:7: note: 'i64' declared here
13 | using i64 = int64_t;
| ^
In file included from ./src/nnue.cpp:4:
In file included from ./src/nnue.h:4:
In file included from ./src/utils.h:8:
./src/precomputed.h:15:29: error: unknown type name 'u64'; did you mean 'i64'?
15 | inline static constexpr u64 isOnC = 0x404040404040404;
| ^~~
| i64
./src/types.h:13:7: note: 'i64' declared here
13 | using i64 = int64_t;
| ^
In file included from ./src/nnue.cpp:4:
In file included from ./src/nnue.h:4:
In file included from ./src/utils.h:8:
./src/precomputed.h:16:29: error: unknown type name 'u64'; did you mean 'i64'?
16 | inline static constexpr u64 isOnD = 0x808080808080808;
| ^~~
| i64
./src/types.h:13:7: note: 'i64' declared here
13 | using i64 = int64_t;
| ^
In file included from ./src/nnue.cpp:4:
In file included from ./src/nnue.h:4:
In file included from ./src/utils.h:8:
./src/precomputed.h:17:29: error: unknown type name 'u64'; did you mean 'i64'?
17 | inline static constexpr u64 isOnE = 0x1010101010101010;
| ^~~
| i64
./src/types.h:13:7: note: 'i64' declared here
13 | using i64 = int64_t;
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [makefile:29: Prelude-6DAD9D5A-4F98A50D] Error 1