diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2013-05-23 09:57:02 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-05-24 12:40:47 +0300 |
commit | b5751caa1cd5cf1c0e6ef271b0a7418f69357e33 (patch) | |
tree | 761145b1ed5c27abda6737f5faf7d671e59db31c /solenv/gbuild | |
parent | 74943b31e8441c8d327c37dd9a20ac69f9b3f9b4 (diff) |
Disable also C4913: user defined binary operator ',' exists but ...
MSVC generates the warning "user defined binary operator ',' exists
but no overload could convert all operands, default built-in binary
operator ',' used" when iterators from newer Boost are combined with
comma expressions, as in for() statements. Or something like that.
Change-Id: I3225d07ad0d1e05f4deeb784cf2ec081748b1ab4
Diffstat (limited to 'solenv/gbuild')
-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 6f4b6a9aaf74..6f687e335eee 100644 --- a/solenv/gbuild/platform/com_MSC_defs.mk +++ b/solenv/gbuild/platform/com_MSC_defs.mk @@ -126,6 +126,9 @@ gb_AFLAGS := $(AFLAGS) # C4800: 'type' : forcing value to bool 'true' or 'false' (performance # warning) +# C4913: user defined binary operator ',' exists but no overload could +# convert all operands, default built-in binary operator ',' used + # C4996: 'function': was declared deprecated # Also generated for C++ library functions that "may be unsafe" @@ -177,6 +180,7 @@ gb_CXXFLAGS := \ -wd4611 \ -wd4706 \ -wd4800 \ + -wd4913 \ -Zc:forScope,wchar_t- \ -Zm500 \ |