diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-04-13 20:19:55 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-04-14 17:42:27 +0200 |
commit | c0def0a41f421f6ade3746e27a3f374e16e0ac55 (patch) | |
tree | 55bb7813b5fdb640f6a07a2396b447318e647a81 /external/boost/boost.utility.Wundef.warnings.patch | |
parent | ce4817130cfad1166a83ee4cc1c28694124246a9 (diff) |
boost: split boost.wundef.patch
Change-Id: I16c2235dd72f86b7659d92aa1c72b573ccadacb7
Diffstat (limited to 'external/boost/boost.utility.Wundef.warnings.patch')
-rw-r--r-- | external/boost/boost.utility.Wundef.warnings.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/external/boost/boost.utility.Wundef.warnings.patch b/external/boost/boost.utility.Wundef.warnings.patch new file mode 100644 index 000000000000..034709e26033 --- /dev/null +++ b/external/boost/boost.utility.Wundef.warnings.patch @@ -0,0 +1,11 @@ +--- foo/foo/foo/boost/utility/result_of.hpp ++++ foo/foo/foo/boost/utility/result_of.hpp +@@ -72,7 +72,7 @@ + // There doesn't seem to be any other way to turn this off such that the presence of + // the user-defined operator,() below doesn't cause spurious warning all over the place, + // so unconditionally turn it off. +-#if BOOST_MSVC ++#if defined(BOOST_MSVC) && BOOST_MSVC + # pragma warning(disable: 4913) // user defined binary operator ',' exists but no overload could convert all operands, default built-in binary operator ',' used + #endif + |