RektBench Testing Framework
Errors

Event #12893

[Simpler] tm-bugfix build failed

Type
[Simpler] tm-bugfix build failed
When
1769684619
User
Eren
Machine
#293
Test
#2901

Log

26 lines 3 errors 2 warnings
1clang++ code/main.cpp -o Simpler-FF482C1F -O3 -std=c++2a -march=native -pthread -flto -fno-exceptions -fno-rtti -DNDEBUG -ffast-math -funroll-loops
2In file included from code/main.cpp:4:
3code/searcher.h:1012:22: error: no matching function for call to 'max'
41012 | nodes = max(nodes, 1);
5| ^~~
6/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/algorithmfwd.h:370:5: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('ll' (aka 'long long') vs. 'int')
7370 | max(const _Tp&, const _Tp&);
8| ^
9/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_algo.h:3468:5: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'll' (aka 'long long')
103468 | max(initializer_list<_Tp> __l, _Compare __comp)
11| ^
12/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_algo.h:3462:5: note: candidate function template not viable: requires single argument '__l', but 2 arguments were provided
133462 | max(initializer_list<_Tp> __l)
14| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
15/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/algorithmfwd.h:375:5: note: candidate function template not viable: requires 3 arguments, but 2 were provided
16375 | max(const _Tp&, const _Tp&, _Compare);
17| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18In file included from code/main.cpp:25:
19code/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]
20117 | int qEval = worker.texelSearch(mainBoard, mainBoard.boardColor, -inf * 10, inf * 10, 0);
21| ~~~~~~~~~~~ ~~~~^~~~
22code/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]
23117 | int qEval = worker.texelSearch(mainBoard, mainBoard.boardColor, -inf * 10, inf * 10, 0);
24| ~~~~~~~~~~~ ~~~~~^~~~
252 warnings and 1 error generated.
26make: *** [Makefile:4: all] Error 1