diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2021-05-11 11:21:15 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2021-05-11 11:21:15 +0800 |
commit | cc4bd55dcb1d4ade77a01e259fff5060a69c8b85 (patch) | |
tree | 2964af7b12a75dbfe3d28de91670183653a3c9f3 | |
parent | 1cd341f8350ed1c54c5089957bf43f8e12c59b9f (diff) |
MSVC_NMake/config-msvc.mak: Clean up compiler flags
Since we eliminated the C4251, C4273 and C4275 warnings, don't ignore them
along with C4530, since we are now using /EHsc. This will make the compiler
flags a bit cleaner
-rw-r--r-- | MSVC_NMake/config-msvc.mak | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/MSVC_NMake/config-msvc.mak b/MSVC_NMake/config-msvc.mak index 65b343a..2b96c39 100644 --- a/MSVC_NMake/config-msvc.mak +++ b/MSVC_NMake/config-msvc.mak @@ -22,8 +22,7 @@ CAIROMM_BASE_CFLAGS = \ /D_CRT_NONSTDC_NO_WARNINGS \ /I.. /I.\cairomm \ /D_USE_MATH_DEFINES \ - /EHsc \ - /wd4251 /wd4275 /wd4530 + /EHsc !if $(VSVER) > 12 CAIROMM_BASE_CFLAGS = $(CAIROMM_BASE_CFLAGS) /utf-8 |