summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-08-13 15:37:28 +0200
committerMichael Stahl <mstahl@redhat.com>2014-08-13 15:41:10 +0200
commita8c503a69c467526ef80ec36b7916e7b931f9101 (patch)
treecd0db0cab508d10eb16b6a4005ea9f91e5d1777e
parent6e4ab42cd036886e7198c084ab69ae8cb44ceb2b (diff)
gbuild: MSVC: disable warning C4373 again
Making our code acceptable for ancient compilers that we don't use and that don't actually support C++ is a complete waste of time. (partially reverts 856b7f5f783471388cd811d92172cc1d2da7e331) Change-Id: I26a1a67d8c4beb31d6c0c301a56a948552683422
-rw-r--r--solenv/gbuild/platform/com_MSC_defs.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/com_MSC_defs.mk b/solenv/gbuild/platform/com_MSC_defs.mk
index 1526172e1abd..380b2c5370f5 100644
--- a/solenv/gbuild/platform/com_MSC_defs.mk
+++ b/solenv/gbuild/platform/com_MSC_defs.mk
@@ -96,6 +96,12 @@ gb_AFLAGS := $(AFLAGS)
# C4355: 'this' : used in base member initializer list
+# C4373: '%$S': virtual function overrides '%$pS', previous versions
+# of the compiler did not override when parameters only differed by
+# const/volatile qualifiers.
+# [translation: ancient compilers that don't actually support C++ do
+# stupid things]
+
# C4481: nonstandard extension used: override specifier 'override'
# (MSVC 2010 warns about this, even though it's C++11 keyword)
@@ -161,6 +167,7 @@ gb_CXXFLAGS := \
-wd4290 \
-wd4351 \
-wd4355 \
+ -wd4373 \
-wd4481 \
-wd4505 \
-wd4512 \