summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-04-15 14:57:26 +0200
committerMichael Stahl <mstahl@redhat.com>2016-04-15 14:59:08 +0200
commit9a081c5cb56c834e7b63ee1ad5b88f11119891ff (patch)
treee7fd8ad643f1ea797ed24fcf2aa184cc3d9de5e6 /solenv
parent43faf91ee36646af5c13cfc5af649c3ff2f3297b (diff)
disable MSVC warning C4091
With MSVC 2015 it is triggered by odd code in Windows 8.1 SDK DbgHelp.h and imagehlp.h. Change-Id: I8694e4598fa8e3a6d6c6e8a0f94429af16f40c6b
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/com_MSC_defs.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/com_MSC_defs.mk b/solenv/gbuild/platform/com_MSC_defs.mk
index 16abf4ce21f6..951d859902a4 100644
--- a/solenv/gbuild/platform/com_MSC_defs.mk
+++ b/solenv/gbuild/platform/com_MSC_defs.mk
@@ -75,6 +75,8 @@ gb_AFLAGS := $(AFLAGS)
# cleaning away from the code, to avoid warnings when building with
# gcc or Clang and -Wall -Werror.
+# C4091: 'typedef ': ignored on left of '' when no variable is declared
+
# C4100: 'identifier' : unreferenced formal parameter
# C4127: conditional expression is constant
@@ -149,6 +151,7 @@ gb_CFLAGS := \
$(if $(MSVC_USE_DEBUG_RUNTIME),-MDd,-MD) \
-nologo \
-W4 \
+ -wd4091 \
$(if $(filter 0,$(gb_DEBUGLEVEL)),-wd4100) \
-wd4127 \
$(if $(filter 0,$(gb_DEBUGLEVEL)),-wd4189) \
@@ -190,6 +193,7 @@ gb_CXXFLAGS := \
$(if $(MSVC_USE_DEBUG_RUNTIME),-MDd,-MD) \
-nologo \
-W4 \
+ -wd4091 \
$(if $(filter 0,$(gb_DEBUGLEVEL)),-wd4100) \
-wd4127 \
$(if $(filter 0,$(gb_DEBUGLEVEL)),-wd4189) \