There was a change in VS 2022 to make VS more compliant with the C++ standard and make std::mutex a constexpr. However, this causes problems if an older version of the runtime is loaded first - in ...
add_compile_definitions(_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR) if(MEDIA_KIT_LIBS_AVAILABLE) # Add media_kit_native_event_loop target. 3 changes: 3 additions & 0 deletions 3 media_kit_video/windows/CMakeLists.txt Original file line numberDiff line numberDiff line change @@ -17,6 +17,9 @...
error C2664: 'int swscanf_s(const wchar_t *,const wchar_t *,...)' : cannot convert argument 1 from 'const TCHAR *' to 'const wchar_t *' error C2665: 'CObject::operator new' : none of the 3 overloads could convert all the argument types_, but it is a constructor with no ...
error C2664: 'int swscanf_s(const wchar_t *,const wchar_t *,...)' : cannot convert argument 1 from 'const TCHAR *' to 'const wchar_t *' error C2665: 'CObject::operator new' : none of the 3 overloads could convert all the argument types_, but it is a constructor with no ...
chiavdf may not have the same problem as chiapos - but this change seems like a good preventative measure just in case there is some future code that might cause issues see chiapos PR Chia-Network/...
set(ANGLE_SRC"${CMAKE_BINARY_DIR}/ANGLE") #Deal with MSVC incompatiblity add_compile_definitions(_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR) if(MEDIA_KIT_LIBS_AVAILABLE) include_directories( "${LIBMPV_SRC}/include" Expand Down 0 comments on commit398abfa Pleasesign into comment....
error C2664: 'int swscanf_s(const wchar_t *,const wchar_t *,...)' : cannot convert argument 1 from 'const TCHAR *' to 'const wchar_t *' error C2665: 'CObject::operator new' : none of the 3 overloads could convert all the argument types_, but it is a constructor with no ...
error C2664: 'int swscanf_s(const wchar_t *,const wchar_t *,...)' : cannot convert argument 1 from 'const TCHAR *' to 'const wchar_t *' error C2665: 'CObject::operator new' : none of the 3 overloads could convert all the argument types_, but it is a constructor with no ...