Downloading net g++ -s -pthread -std=c++17 -DNDEBUG -DEvalFile=\"net83perm.bin\" -O3 -fno-stack-protector -fno-math-errno -funroll-loops -fno-exceptions -flto -flto-partition=one -static -march=native -DUSE_PEXT src/bitboard.cpp src/cuckoo.cpp src/evaluate.cpp src/main.cpp src/movegen.cpp src/movepick.cpp src/nnue.cpp src/position.cpp src/search.cpp src/threads.cpp src/timeman.cpp src/tt.cpp src/tuning.cpp src/uci.cpp src/ucioption.cpp src/zobrist.cpp src/fathom/src/tbprobe.c -o Obsidian-2822DB22 -fprofile-generate="obs_pgo" src/search.cpp: In member function 'Score Search::Thread::negamax(Position&, Score, Score, int, bool, Search::SearchInfo*, Move)': src/search.cpp:863:25: error: no matching function for call to 'max(int, EngineParam&)' 863 | && eval - std::max(RfpDepthMul * (depth - improving), RfpMin) >= beta) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from F:/apps/msys64/mingw64/include/c++/12.2.0/algorithm:60, from src/types.h:3, from src/history.h:3, from src/search.h:3, from src/search.cpp:1: F:/apps/msys64/mingw64/include/c++/12.2.0/bits/stl_algobase.h:254:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)' 254 | max(const _Tp& __a, const _Tp& __b) | ^~~ F:/apps/msys64/mingw64/include/c++/12.2.0/bits/stl_algobase.h:254:5: note: template argument deduction/substitution failed: src/search.cpp:863:25: note: deduced conflicting types for parameter 'const _Tp' ('int' and 'EngineParam') 863 | && eval - std::max(RfpDepthMul * (depth - improving), RfpMin) >= beta) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ F:/apps/msys64/mingw64/include/c++/12.2.0/bits/stl_algobase.h:300:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)' 300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp) | ^~~ F:/apps/msys64/mingw64/include/c++/12.2.0/bits/stl_algobase.h:300:5: note: template argument deduction/substitution failed: src/search.cpp:863:25: note: deduced conflicting types for parameter 'const _Tp' ('int' and 'EngineParam') 863 | && eval - std::max(RfpDepthMul * (depth - improving), RfpMin) >= beta) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from F:/apps/msys64/mingw64/include/c++/12.2.0/algorithm:61: F:/apps/msys64/mingw64/include/c++/12.2.0/bits/stl_algo.h:5746:5: note: candidate: 'template<class _Tp> constexpr _Tp std::max(initializer_list<_Tp>)' 5746 | max(initializer_list<_Tp> __l) | ^~~ F:/apps/msys64/mingw64/include/c++/12.2.0/bits/stl_algo.h:5746:5: note: template argument deduction/substitution failed: src/search.cpp:863:25: note: mismatched types 'std::initializer_list<_Tp>' and 'int' 863 | && eval - std::max(RfpDepthMul * (depth - improving), RfpMin) >= beta) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ F:/apps/msys64/mingw64/include/c++/12.2.0/bits/stl_algo.h:5756:5: note: candidate: 'template<class _Tp, class _Compare> constexpr _Tp std::max(initializer_list<_Tp>, _Compare)' 5756 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~ F:/apps/msys64/mingw64/include/c++/12.2.0/bits/stl_algo.h:5756:5: note: template argument deduction/substitution failed: src/search.cpp:863:25: note: mismatched types 'std::initializer_list<_Tp>' and 'int' 863 | && eval - std::max(RfpDepthMul * (depth - improving), RfpMin) >= beta) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:75: make] Error 1