diff options
author | Aaron Clauson <aaron@sipsorcery.com> | 2019-08-28 15:03:23 +0200 |
---|---|---|
committer | Aaron Clauson <aaron@sipsorcery.com> | 2019-08-28 15:03:23 +0200 |
commit | aff1c9c8845e7762e9710008998555a72045e40c (patch) | |
tree | 2e21de0abf0ad89de3ddc126bbf1f48e78ad5586 /build_msvc | |
parent | cc40b55da70b3849ef6a2b55da57a5a1786f37f1 (diff) |
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.
Diffstat (limited to 'build_msvc')
-rw-r--r-- | build_msvc/common.init.vcxproj | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build_msvc/common.init.vcxproj b/build_msvc/common.init.vcxproj index 0d186b5af2..e9f4e23862 100644 --- a/build_msvc/common.init.vcxproj +++ b/build_msvc/common.init.vcxproj @@ -113,6 +113,9 @@ <GenerateDebugInformation>true</GenerateDebugInformation> <AdditionalDependencies>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)</AdditionalDependencies> </Link> + <Lib> + <AdditionalOptions>/ignore:4221</AdditionalOptions> + </Lib> </ItemDefinitionGroup> <Import Project="common.init.vcxproj.user" Condition="Exists('common.init.vcxproj.user')" /> </Project> |