reapack

Package manager for REAPER
Log | Files | Refs | Submodules | README | LICENSE

commit bef712fe3b967da3887eb42531d88e98c51d5526
parent 045ab16ca044b01ab8f3ab36c4f0eb2818d0e0c5
Author: cfillion <cfillion@users.noreply.github.com>
Date:   Wed, 21 Oct 2020 17:36:18 -0400

fix building with Visual Studio 2019 version 16.6 or newer

https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/c5208

Same reason as the fix for Clang 11 (173f87e00a0695e1361803e044399832960c6d55).

Diffstat:
Msrc/CMakeLists.txt | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt @@ -116,7 +116,7 @@ target_include_directories(reapack PRIVATE if(WIN32) target_sources(reapack PRIVATE buildinfo.rc) - target_compile_options(reapack PUBLIC /W3 /WX /wd4996) + target_compile_options(reapack PUBLIC /W3 /WX /wd4996 /wd5208) target_compile_definitions(reapack PUBLIC NOMINMAX UNICODE) target_link_libraries(reapack Bcrypt Comctl32 Comdlg32 Gdi32 Shell32 User32) else()