aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc/msvc.txt
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-03 23:34:07 +0000
committerlloyd <[email protected]>2010-03-03 23:34:07 +0000
commit63e8d6e2a666600b61fed840af8cc92f3f1c1467 (patch)
tree767361569c23722e76b978cab0ec14f90e3ff9d2 /src/build-data/cc/msvc.txt
parent8409c190f4f3743772819000e1a828173554bb27 (diff)
Only disable VC++ warning C4275 with DLL builds
Diffstat (limited to 'src/build-data/cc/msvc.txt')
-rw-r--r--src/build-data/cc/msvc.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build-data/cc/msvc.txt b/src/build-data/cc/msvc.txt
index 273f1c5c0..df8d94671 100644
--- a/src/build-data/cc/msvc.txt
+++ b/src/build-data/cc/msvc.txt
@@ -12,9 +12,9 @@ no_debug_flags "/O2"
debug_flags "/Od /Zi /DDEBUG"
check_opt_flags "/O2 /D_CONSOLE"
lang_flags "/EHsc /GR"
-warning_flags "/W3 /wd4275"
+warning_flags "/W3"
-shared_flags "/DBOTAN_DLL=__declspec(dllexport)"
+shared_flags "/DBOTAN_DLL=__declspec(dllexport) /wd4275"
dll_import_flags "__declspec(dllimport)"
ar_command lib