clang++ -O3 -std=c++20 -Wall -Wextra -march=native -flto -fuse-ld=lld -DEVALFILE=\"/root/OpenBench/Client/Networks/2D8561AB\" Laminar/Accumulator.cpp Laminar/Bench.cpp Laminar/Bit.cpp Laminar/Board.cpp Laminar/Evaluation.cpp Laminar/History.cpp Laminar/Movegen.cpp Laminar/NNUE.cpp Laminar/Ordering.cpp Laminar/PrettyPrinting.cpp Laminar/SEE.cpp Laminar/Search.cpp Laminar/Threading.cpp Laminar/Transpositions.cpp Laminar/Tuneables.cpp Laminar/UCI.cpp -o Laminar-3932E104-2D8561AB
In file included from Laminar/Evaluation.cpp:10:
Laminar/Tuneables.h:12:36: error: constexpr constructor's 1st parameter type 'std::string' (aka 'basic_string<char>') is not a literal type
constexpr Tuneable(std::string n, int v, int minv, int maxv, int s) :
~~~~~~~~~~~~^
/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/basic_string.h:85:11: note: 'basic_string<char>' is not literal because it is not an aggregate and has no constexpr constructors other than copy or move constructors
class basic_string
^
1 error generated.
In file included from Laminar/History.cpp:4:
Laminar/Tuneables.h:12:36: error: constexpr constructor's 1st parameter type 'std::string' (aka 'basic_string<char>') is not a literal type
constexpr Tuneable(std::string n, int v, int minv, int maxv, int s) :
~~~~~~~~~~~~^
/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/basic_string.h:85:11: note: 'basic_string<char>' is not literal because it is not an aggregate and has no constexpr constructors other than copy or move constructors
class basic_string
^
Laminar/History.cpp:42:10: warning: unused variable 'stm' [-Wunused-variable]
bool stm = bonus_move.Piece <= 5 ? White : Black;
^
Laminar/History.cpp:86:10: warning: unused variable 'stm' [-Wunused-variable]
bool stm = bonus_move.Piece <= 5 ? White : Black;
^
2 warnings and 1 error generated.
Laminar/Movegen.cpp:1330:18: warning: unused variable 'accumulator' [-Wunused-variable]
Accumulator& accumulator = ((side == White) ? board.accumulator.white : board.accumulator.black);
^
Laminar/Movegen.cpp:1961:17: warning: unused variable 'rook' [-Wunused-variable]
int rook = board.mailbox[rookSquare];
^
Laminar/Movegen.cpp:2009:17: warning: unused variable 'rook' [-Wunused-variable]
int rook = board.mailbox[rookSquare];
^
3 warnings generated.
In file included from Laminar/Ordering.cpp:10:
Laminar/Tuneables.h:12:36: error: constexpr constructor's 1st parameter type 'std::string' (aka 'basic_string<char>') is not a literal type
constexpr Tuneable(std::string n, int v, int minv, int maxv, int s) :
~~~~~~~~~~~~^
/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/basic_string.h:85:11: note: 'basic_string<char>' is not literal because it is not an aggregate and has no constexpr constructors other than copy or move constructors
class basic_string
^
1 error generated.
Laminar/PrettyPrinting.cpp:67:10: warning: unused variable 'Bestmove' [-Wunused-variable]
Move Bestmove = data.pvTable[0][0];
^
1 warning generated.
In file included from Laminar/SEE.cpp:5:
Laminar/Tuneables.h:12:36: error: constexpr constructor's 1st parameter type 'std::string' (aka 'basic_string<char>') is not a literal type
constexpr Tuneable(std::string n, int v, int minv, int maxv, int s) :
~~~~~~~~~~~~^
/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/basic_string.h:85:11: note: 'basic_string<char>' is not literal because it is not an aggregate and has no constexpr constructors other than copy or move constructors
class basic_string
^
1 error generated.
In file included from Laminar/Search.cpp:13:
Laminar/Tuneables.h:12:36: error: constexpr constructor's 1st parameter type 'std::string' (aka 'basic_string<char>') is not a literal type
constexpr Tuneable(std::string n, int v, int minv, int maxv, int s) :
~~~~~~~~~~~~^
/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/basic_string.h:85:11: note: 'basic_string<char>' is not literal because it is not an aggregate and has no constexpr constructors other than copy or move constructors
class basic_string
^
Laminar/Search.cpp:170:10: warning: variable 'ttHit' set but not used [-Wunused-but-set-variable]
bool ttHit = false;
^
Laminar/Search.cpp:161:10: warning: unused variable 'isPvNode' [-Wunused-variable]
bool isPvNode = beta - alpha > 1;
^
Laminar/Search.cpp:985:23: warning: unused variable 'nps' [-Wunused-variable]
float nps = data.searchNodeCount / second;
^
3 warnings and 1 error generated.
In file included from Laminar/Tuneables.cpp:1:
Laminar/Tuneables.h:12:36: error: constexpr constructor's 1st parameter type 'std::string' (aka 'basic_string<char>') is not a literal type
constexpr Tuneable(std::string n, int v, int minv, int maxv, int s) :
~~~~~~~~~~~~^
/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/basic_string.h:85:11: note: 'basic_string<char>' is not literal because it is not an aggregate and has no constexpr constructors other than copy or move constructors
class basic_string
^
Laminar/Tuneables.cpp:3:32: error: no matching constructor for initialization of 'Tuneable'
Tuneable MAINHIST_BONUS_BASE = Tuneable("MAINHIST_BONUS_BASE", 140, 50, 400, 10);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 5 were provided
struct Tuneable
^
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 5 were provided
Laminar/Tuneables.cpp:4:32: error: no matching constructor for initialization of 'Tuneable'
Tuneable MAINHIST_BONUS_MULT = Tuneable("MAINHIST_BONUS_MULT", 420, 200, 700, 10);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 5 were provided
struct Tuneable
^
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 5 were provided
Laminar/Tuneables.cpp:5:31: error: no matching constructor for initialization of 'Tuneable'
Tuneable MAINHIST_BONUS_MAX = Tuneable("MAINHIST_BONUS_MAX", 2400, 1000, 4000, 70);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 5 were provided
struct Tuneable
^
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 5 were provided
Laminar/Tuneables.cpp:6:32: error: no matching constructor for initialization of 'Tuneable'
Tuneable MAINHIST_MALUS_BASE = Tuneable("MAINHIST_MALUS_BASE", 140, 50, 400, 10);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 5 were provided
struct Tuneable
^
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 5 were provided
Laminar/Tuneables.cpp:7:32: error: no matching constructor for initialization of 'Tuneable'
Tuneable MAINHIST_MALUS_MULT = Tuneable("MAINHIST_MALUS_MULT", 420, 200, 700, 10);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 5 were provided
struct Tuneable
^
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 5 were provided
Laminar/Tuneables.cpp:8:31: error: no matching constructor for initialization of 'Tuneable'
Tuneable MAINHIST_MALUS_MAX = Tuneable("MAINHIST_MALUS_MAX", 2400, 1000, 4000, 70);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 5 were provided
struct Tuneable
^
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 5 were provided
Laminar/Tuneables.cpp:10:32: error: no matching constructor for initialization of 'Tuneable'
Tuneable CAPTHIST_BONUS_BASE = Tuneable("CAPTHIST_BONUS_BASE", 134, 50, 400, 10);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 5 were provided
struct Tuneable
^
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 5 were provided
Laminar/Tuneables.cpp:11:32: error: no matching constructor for initialization of 'Tuneable'
Tuneable CAPTHIST_BONUS_MULT = Tuneable("CAPTHIST_BONUS_MULT", 400, 200, 700, 10);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 5 were provided
struct Tuneable
^
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 5 were provided
Laminar/Tuneables.cpp:12:31: error: no matching constructor for initialization of 'Tuneable'
Tuneable CAPTHIST_BONUS_MAX = Tuneable("CAPTHIST_BONUS_MAX", 2400, 1000, 4000, 70);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 5 were provided
struct Tuneable
^
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 5 were provided
Laminar/Tuneables.cpp:13:32: error: no matching constructor for initialization of 'Tuneable'
Tuneable CAPTHIST_MALUS_BASE = Tuneable("CAPTHIST_MALUS_BASE", 134, 50, 400, 10);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 5 were provided
struct Tuneable
^
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 5 were provided
Laminar/Tuneables.cpp:14:32: error: no matching constructor for initialization of 'Tuneable'
Tuneable CAPTHIST_MALUS_MULT = Tuneable("CAPTHIST_MALUS_MULT", 400, 200, 700, 10);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 5 were provided
struct Tuneable
^
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 5 were provided
Laminar/Tuneables.cpp:15:31: error: no matching constructor for initialization of 'Tuneable'
Tuneable CAPTHIST_MALUS_MAX = Tuneable("CAPTHIST_MALUS_MAX", 2400, 1000, 4000, 70);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 5 were provided
struct Tuneable
^
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 5 were provided
Laminar/Tuneables.cpp:17:32: error: no matching constructor for initialization of 'Tuneable'
Tuneable CONTHIST_BONUS_BASE = Tuneable("CONTHIST_BONUS_BASE", 140, 50, 400, 10);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 5 were provided
struct Tuneable
^
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 5 were provided
Laminar/Tuneables.cpp:18:32: error: no matching constructor for initialization of 'Tuneable'
Tuneable CONTHIST_BONUS_MULT = Tuneable("CONTHIST_BONUS_MULT", 420, 200, 700, 10);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 5 were provided
struct Tuneable
^
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 5 were provided
Laminar/Tuneables.cpp:19:31: error: no matching constructor for initialization of 'Tuneable'
Tuneable CONTHIST_BONUS_MAX = Tuneable("CONTHIST_BONUS_MAX", 2400, 1000, 4000, 70);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 5 were provided
struct Tuneable
^
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 5 were provided
Laminar/Tuneables.cpp:20:32: error: no matching constructor for initialization of 'Tuneable'
Tuneable CONTHIST_MALUS_BASE = Tuneable("CONTHIST_MALUS_BASE", 140, 50, 400, 10);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 5 were provided
struct Tuneable
^
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 5 were provided
Laminar/Tuneables.cpp:21:32: error: no matching constructor for initialization of 'Tuneable'
Tuneable CONTHIST_MALUS_MULT = Tuneable("CONTHIST_MALUS_MULT", 420, 200, 700, 10);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 5 were provided
struct Tuneable
^
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 5 were provided
Laminar/Tuneables.cpp:22:31: error: no matching constructor for initialization of 'Tuneable'
Tuneable CONTHIST_MALUS_MAX = Tuneable("CONTHIST_MALUS_MAX", 2400, 1000, 4000, 70);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 5 were provided
struct Tuneable
^
Laminar/Tuneables.h:5:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 5 were provided
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
In file included from Laminar/UCI.cpp:9:
Laminar/Tuneables.h:12:36: error: constexpr constructor's 1st parameter type 'std::string' (aka 'basic_string<char>') is not a literal type
constexpr Tuneable(std::string n, int v, int minv, int maxv, int s) :
~~~~~~~~~~~~^
/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/basic_string.h:85:11: note: 'basic_string<char>' is not literal because it is not an aggregate and has no constexpr constructors other than copy or move constructors
class basic_string
^
Laminar/UCI.cpp:182:50: warning: unused parameter 'incre' [-Wunused-parameter]
int64_t CalculateHardLimit(int64_t time, int64_t incre)
^
Laminar/UCI.cpp:216:34: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
for (size_t j = 0; j < moveList.count; j++)
~ ^ ~~~~~~~~~~~~~~
Laminar/UCI.cpp:410:17: warning: unused variable 'depth' [-Wunused-variable]
int depth = (int)TryGetLabelledValueInt(input, "depth", go_commands);
^
3 warnings and 1 error generated.
make: *** [Makefile:27: Laminar-3932E104-2D8561AB] Error 1