From aff1c9c8845e7762e9710008998555a72045e40c Mon Sep 17 00:00:00 2001 From: Aaron Clauson Date: Wed, 28 Aug 2019 15:03:23 +0200 Subject: [PATCH] Adds an option to msbuild common configuration to ignore linker warning 4221. This warning is for object files that do not include any symbols. The warning is harmless and occurs due to some classes that are *nix only having no source to compile for an msvc build. --- build_msvc/common.init.vcxproj | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build_msvc/common.init.vcxproj b/build_msvc/common.init.vcxproj index 0d186b5af..e9f4e2386 100644 --- a/build_msvc/common.init.vcxproj +++ b/build_msvc/common.init.vcxproj @@ -113,6 +113,9 @@ true crypt32.lib;Iphlpapi.lib;ws2_32.lib;Shlwapi.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + + /ignore:4221 +