summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-08-30 11:55:41 +0300
committerTor Lillqvist <tml@iki.fi>2013-08-30 12:13:45 +0300
commitfb30ed471eb88870c53c882d623c4f9a7cb0a938 (patch)
tree36354c830e2d1847724dcb60c6c1e18bf6aa2aac /solenv
parent9c1be36c41a7006760ddcd73eec96a82a87316f2 (diff)
Ignore C4267: possible loss of data, there are too many of them
Change-Id: I4b01c9398c9c697cff63226269e7c7a3f5a5c9dd
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/com_MSC_defs.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/com_MSC_defs.mk b/solenv/gbuild/platform/com_MSC_defs.mk
index 81f20dad0537..f5fa7e70eadc 100644
--- a/solenv/gbuild/platform/com_MSC_defs.mk
+++ b/solenv/gbuild/platform/com_MSC_defs.mk
@@ -87,6 +87,8 @@ gb_AFLAGS := $(AFLAGS)
# C4251: 'identifier' : class 'type' needs to have dll-interface to be
# used by clients of class 'type2'
+# C4267: conversion from 'size_t' to 'type', possible loss of data
+
# C4275: non-DLL-interface classkey 'identifier' used as base for
# DLL-interface classkey 'identifier'
@@ -149,6 +151,13 @@ gb_CFLAGS := \
-Zc:wchar_t- \
-Zm500 \
+ifeq ($(CPUNAME),X86_64)
+
+gb_CFLAGS += \
+ -wd4267 \
+
+endif
+
gb_CXXFLAGS := \
-Gd \
-GR \