From 5e66d72f9e75dcfb33a055f8d2b0536f4df8c6f8 Mon Sep 17 00:00:00 2001 From: silverf0x Date: Sat, 6 Mar 2021 16:12:04 +0100 Subject: [PATCH] Disable warning 4714: function marked as __forceinline not inlined --- RpcView/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RpcView/CMakeLists.txt b/RpcView/CMakeLists.txt index 0d8855f..4cb12c3 100644 --- a/RpcView/CMakeLists.txt +++ b/RpcView/CMakeLists.txt @@ -46,5 +46,5 @@ add_executable( # Disable compiler warnings: # C4091 in ShlObj.h and Dbghelp.h # C4127 (conditional expression is constant) in qt headers -set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "/wd4091 /wd4127") +set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "/wd4091 /wd4127 /wd4714") target_link_libraries(RpcView Qt5::Widgets $ENV{CMAKE_PREFIX_PATH}/lib/Qt5WinExtras.lib) \ No newline at end of file