diff options
author | Zoltan Varga <vargaz@gmail.com> | 2014-09-16 07:30:40 +0400 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2014-09-16 07:30:40 +0400 |
commit | 80b14d356ffd8fc8a46d74eb7b6428082519f59c (patch) | |
tree | 868d1e4565e8166ea0caa4cdb67a84312967315b /msvc/mono.props | |
parent | 557390ee4600ed375a3f303d33ded29e0b3e5c6f (diff) |
[runtime] Disable VS warnings C4273 (inconsistent dll linkage), and C4005 (macro redefinition). The former occurs becase we mark exported function declarations using MONO_API, but not the definitions. The latter occurs because we define _WINSOCKAPI_.
Diffstat (limited to 'msvc/mono.props')
-rw-r--r-- | msvc/mono.props | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/msvc/mono.props b/msvc/mono.props index ef26f9180d7..46b4dde2c8f 100644 --- a/msvc/mono.props +++ b/msvc/mono.props @@ -10,6 +10,7 @@ <ItemDefinitionGroup> <ClCompile> <PreprocessorDefinitions>__default_codegen__;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;HAVE_CONFIG_H;GC_NOT_DLL;WIN32_THREADS;WINVER=0x0500;_WIN32_WINNT=0x0500;_WIN32_IE=0x0501;_UNICODE;UNICODE;WIN32_THREADS;FD_SETSIZE=1024;$(PreprocessorDefinitions);_WINSOCKAPI_</PreprocessorDefinitions> + <DisableSpecificWarnings>4273;4005</DisableSpecificWarnings> </ClCompile> <Link> <AdditionalDependencies>Mswsock.lib;ws2_32.lib;ole32.lib;oleaut32.lib;psapi.lib;version.lib;advapi32.lib;winmm.lib;kernel32.lib;$(AdditionalDependencies)</AdditionalDependencies> |