diff options
-rw-r--r-- | solenv/gbuild/platform/com_MSC_defs.mk | 4 |
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 380b2c5370f5..0911a0708117 100644 --- a/solenv/gbuild/platform/com_MSC_defs.mk +++ b/solenv/gbuild/platform/com_MSC_defs.mk @@ -70,6 +70,8 @@ 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 @@ -137,6 +139,7 @@ gb_CFLAGS := \ -nologo \ -W4 \ -wd4127 \ + $(if $(filter 0,$(gb_DEBUGLEVEL)),-wd4189) \ -wd4242 \ -wd4244 \ -wd4251 \ @@ -159,6 +162,7 @@ gb_CXXFLAGS := \ -nologo \ -W4 \ -wd4127 \ + $(if $(filter 0,$(gb_DEBUGLEVEL)),-wd4189) \ -wd4201 \ -wd4244 \ -wd4250 \ |