RektBench Testing Framework
Errors

Event #12896

[Simpler] tm-bugfix build failed

Type
[Simpler] tm-bugfix build failed
When
1769684622
User
Kirill020708
Machine
#272
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'
4nodes = max(nodes, 1);
5^~~
6/usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/algorithmfwd.h:407:5: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('ll' (aka 'long long') vs. 'int')
7max(const _Tp&, const _Tp&);
8^
9/usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_algo.h:5756:5: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'll' (aka 'long long')
10max(initializer_list<_Tp> __l, _Compare __comp)
11^
12/usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_algo.h:5746:5: note: candidate function template not viable: requires single argument '__l', but 2 arguments were provided
13max(initializer_list<_Tp> __l)
14^
15/usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/algorithmfwd.h:412:5: note: candidate function template not viable: requires 3 arguments, but 2 were provided
16max(const _Tp&, const _Tp&, _Compare);
17^
18In file included from code/main.cpp:25:
19code/texel.h:117:92: warning: implicit conversion from 'long long' to 'float' changes value from 1000000010 to 1.0E+9 [-Wimplicit-const-int-float-conversion]
20int qEval = worker.texelSearch(mainBoard, mainBoard.boardColor, -inf * 10, inf * 10, 0);
21~~~~~~~~~~~ ~~~~^~~~
22code/texel.h:117:82: warning: implicit conversion from 'long long' to 'float' changes value from -1000000010 to -1.0E+9 [-Wimplicit-const-int-float-conversion]
23int qEval = worker.texelSearch(mainBoard, mainBoard.boardColor, -inf * 10, inf * 10, 0);
24~~~~~~~~~~~ ~~~~~^~~~
252 warnings and 1 error generated.
26make: *** [Makefile:4: all] Error 1