summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-13 08:46:21 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-13 10:10:54 +0200
commit856b7f5f783471388cd811d92172cc1d2da7e331 (patch)
tree6132ec1e39ce3ecb993e433418e7d2a441b8d254 /solenv
parent2bdefe6d83719015fa6d59ed2cf11747cd6e7123 (diff)
msvc: enable some warnings, as they are useful
Change-Id: I30d1b5a5f5c21f6bb520fb9a36cdfc5445be1124
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/com_MSC_defs.mk14
1 files changed, 0 insertions, 14 deletions
diff --git a/solenv/gbuild/platform/com_MSC_defs.mk b/solenv/gbuild/platform/com_MSC_defs.mk
index eaae642764a7..1526172e1abd 100644
--- a/solenv/gbuild/platform/com_MSC_defs.mk
+++ b/solenv/gbuild/platform/com_MSC_defs.mk
@@ -70,8 +70,6 @@ gb_AFLAGS := $(AFLAGS)
# C4127: conditional expression is constant
-# C4189: 'identifier' : local variable is initialized but not referenced
-
# C4201: nonstandard extension used : nameless struct/union
# C4242: 'identifier' : conversion from 'type1' to 'type2', possible
@@ -80,9 +78,6 @@ gb_AFLAGS := $(AFLAGS)
# C4244: nonstandard extension used : formal parameter 'identifier'
# was previously defined as a type
-# C4245: 'conversion' : conversion from 'type1' to 'type2',
-# signed/unsigned mismatch
-
# C4250: 'class1' : inherits 'class2::member' via dominance
# C4251: 'identifier' : class 'type' needs to have dll-interface to be
@@ -101,10 +96,6 @@ 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.
-
# C4481: nonstandard extension used: override specifier 'override'
# (MSVC 2010 warns about this, even though it's C++11 keyword)
@@ -140,10 +131,8 @@ gb_CFLAGS := \
-nologo \
-W4 \
-wd4127 \
- -wd4189 \
-wd4242 \
-wd4244 \
- -wd4245 \
-wd4251 \
-wd4355 \
-wd4505 \
@@ -164,17 +153,14 @@ gb_CXXFLAGS := \
-nologo \
-W4 \
-wd4127 \
- -wd4189 \
-wd4201 \
-wd4244 \
- -wd4245 \
-wd4250 \
-wd4251 \
-wd4275 \
-wd4290 \
-wd4351 \
-wd4355 \
- -wd4373 \
-wd4481 \
-wd4505 \
-wd4512 \