diff options
Diffstat (limited to 'src/build-data/cc/msvc.txt')
-rw-r--r-- | src/build-data/cc/msvc.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/build-data/cc/msvc.txt b/src/build-data/cc/msvc.txt index 2306a4485..a7dc9bbb0 100644 --- a/src/build-data/cc/msvc.txt +++ b/src/build-data/cc/msvc.txt @@ -25,7 +25,14 @@ debug_info_flags "/Zi /FS" preproc_flags "/nologo /EP" lang_flags "/EHs /GR /D_ENABLE_EXTENDED_ALIGNED_STORAGE" -warning_flags "/W4 /wd4250 /wd4251 /wd4275" + +# 4250: diamond inheritence warning +# 4251: STL types used in DLL interface +# 4275: ??? +# 4127: conditional expression is constant, consider using if constexpr +warning_flags "/W4 /wd4250 /wd4251 /wd4275 /wd4127" + +werror_flags "/WX" visibility_build_flags "/DBOTAN_DLL=__declspec(dllexport)" visibility_attribute "__declspec(dllimport)" |