clang++ code/main.cpp -o Simpler-FF482C1F -O3 -std=c++2a -march=native -pthread -flto -fno-exceptions -fno-rtti -DNDEBUG -ffast-math -funroll-loops
In file included from code/main.cpp:4:
code/searcher.h:1012:22: error: no matching function for call to 'max'
1012 | nodes = max(nodes, 1);
| ^~~
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/algorithmfwd.h:403:5: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('ll' (aka 'long long') vs. 'int')
403 | max(const _Tp&, const _Tp&);
| ^
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/stl_algo.h:5716:5: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'll' (aka 'long long')
5716 | max(initializer_list<_Tp> __l, _Compare __comp)
| ^
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/stl_algo.h:5706:5: note: candidate function template not viable: requires single argument '__l', but 2 arguments were provided
5706 | max(initializer_list<_Tp> __l)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/algorithmfwd.h:408:5: note: candidate function template not viable: requires 3 arguments, but 2 were provided
408 | max(const _Tp&, const _Tp&, _Compare);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from code/main.cpp:25:
code/texel.h:117:92: warning: implicit conversion from 'll' (aka 'long long') to 'float' changes value from 1000000010 to 1.0E+9 [-Wimplicit-const-int-float-conversion]
117 | int qEval = worker.texelSearch(mainBoard, mainBoard.boardColor, -inf * 10, inf * 10, 0);
| ~~~~~~~~~~~ ~~~~^~~~
code/texel.h:117:82: warning: implicit conversion from 'll' (aka 'long long') to 'float' changes value from -1000000010 to -1.0E+9 [-Wimplicit-const-int-float-conversion]
117 | int qEval = worker.texelSearch(mainBoard, mainBoard.boardColor, -inf * 10, inf * 10, 0);
| ~~~~~~~~~~~ ~~~~~^~~~
2 warnings and 1 error generated.
make: *** [Makefile:4: all] Error 1