Closed lyu closed 1 week ago
windows error:
C:\project\conformance_tests\core\test_module\src\test_module.cpp(1227): error C2784: 'const _Ty &std::max(const _Ty &,const _Ty &) noexcept()': could not deduce template argument for 'const _Ty &' from 'uint64_t' C:\Program Files (x86)\Microsoft Visual Studio\current\BuildTools\VC\Tools\MSVC\14.29.30133\include\utility(40): note: see declaration of 'std::max' C:\project\conformance_tests\core\test_module\src\test_module.cpp(1227): error C2780: 'const _Ty &std::max(const _Ty &,const _Ty &,_Pr) noexcept()': expects 3 arguments - 2 provided C:\Program Files (x86)\Microsoft Visual Studio\current\BuildTools\VC\Tools\MSVC\14.29.30133\include\utility(31): note: see declaration of 'std::max'
@nrspruit I've added type cast and formatted the file
windows error:
C:\project\conformance_tests\core\test_module\src\test_module.cpp(1227): error C2784: 'const _Ty &std::max(const _Ty &,const _Ty &) noexcept()': could not deduce template argument for 'const _Ty &' from 'uint64_t'
C:\Program Files (x86)\Microsoft Visual Studio\current\BuildTools\VC\Tools\MSVC\14.29.30133\include\utility(40): note: see declaration of 'std::max'
C:\project\conformance_tests\core\test_module\src\test_module.cpp(1227): error C2780: 'const _Ty &std::max(const _Ty &,const _Ty &,_Pr) noexcept()': expects 3 arguments - 2 provided
C:\Program Files (x86)\Microsoft Visual Studio\current\BuildTools\VC\Tools\MSVC\14.29.30133\include\utility(31): note: see declaration of 'std::max'