/home/runner/work/OpenColorIO/OpenColorIO/_build/ext/build/openexr/src/openexr_install/src/bin/exrcheck/main.cpp:59:13: error: unknown type name 'uintptr_t'; did you mean 'intptr_t'? const uintptr_t kMaxSize = uintptr_t(-1) / 4; ^~~~ intptr_t /usr/include/unistd.h:267:20:...
30): message : ‘intptr_t’ declared here 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\vcruntime.h(353,8): error : unknown type name ‘uintptr_t’; did you mean ‘intptr_t’?
core/cvstd_wrapper.hpp:11: /snap/flutter/current/usr/include/c++/8/memory:116:25: error: cast from pointer to smaller type 'uintptr_t' (aka 'unsigned int') loses information const auto __intptr = reinterpret_cast<uintptr_t>(__ptr); ^~~~ while trying to run/build the project. ....
Use a custom type alias instead of `intptr_t` or `uintptr_t` macOS seems to alias `intptr_t` to `long`, which is different from what they alias for `int32_t` and `int64_t`, which are `int` and `long long`, respectively. We will now use a custom type to alias to either...