Closed julcst closed 6 days ago
Nvm it was cuda_runtime.hpp overriding max and min, changing include order fixed this. I hate the preprocessor
yeah, Windows.h
defines a bunch of crap which is just legacy C bullshit. If you find any more issues don't hesitate to let me know, but perhaps don't paste the entire log output :D
I get a lot of compile errors compiling fastgltf with Visual Studio 2022 on Windows. On Linux with clang I had non of these issues. Maybe you can help me understand them I am relatively new to C++:
They all seem to originate from these functions in util.hpp:
and
std::numeric_limits<>::max()