Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workaround against msvc Runtime incompatibilities when using std::mut…
…ex::lock (_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR) if (WIN32 AND IMGUI_BUNDLE_BUILD_PYTHON) # Windows: workaround against msvc Runtime incompatibilities when using std::mutex::lock # Early 2024, msvcp140.dll was updated, and Python 3.11/3.12 are shipped with their own older version of msvcp140.dll # As a consequence the python library will happily crash at customer site, not bothering to mention # the fact that the loaded version of msvcp140.dll is incompatible... # See: # https://developercommunity.visualstudio.com/t/Access-violation-in-_Thrd_yield-after-up/10664660 # actions/runner-images#10004 # #239 (comment) add_compile_definitions(_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR) endif()
- Loading branch information