summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-05-24 14:50:03 +0300
committerTor Lillqvist <tml@iki.fi>2013-05-24 14:58:08 +0300
commitd972b212f6f7a2b40ed85ba2ec08a228decc3f70 (patch)
treeb57cb27ddbf98400146372f322e12638108a8062
parenteb9bf904b58aede41b06a5c14335eec6565af202 (diff)
WaE: "__GXX_EXPERIMENTAL_CXX0X__" is not defined
Change-Id: I66447ffe1a5f364377b80756f6c08f6986ce4eef
-rw-r--r--boost/boost.wundef.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/boost/boost.wundef.patch b/boost/boost.wundef.patch
index a389d504617f..c4928ed3a0ea 100644
--- a/boost/boost.wundef.patch
+++ b/boost/boost.wundef.patch
@@ -9,6 +9,17 @@
namespace {
multi_array_types::extent_gen extents;
multi_array_types::index_gen indices;
+--- foo/foo/foo/boost/preprocessor/config/config.hpp
++++ foo/foo/foo/boost/preprocessor/config/config.hpp
+@@ -90,7 +90,7 @@
+ # define BOOST_PP_VARIADICS 0
+ # endif
+ # /* Wave (C/C++), GCC (C++) */
+-# elif defined __WAVE__ && __WAVE_HAS_VARIADICS__ || defined __GNUC__ && __GXX_EXPERIMENTAL_CXX0X__
++# elif defined __WAVE__ && __WAVE_HAS_VARIADICS__ || defined __GNUC__ && defined __GXX_EXPERIMENTAL_CXX0X__ && __GXX_EXPERIMENTAL_CXX0X__
+ # define BOOST_PP_VARIADICS 1
+ # /* EDG-based (C/C++), GCC (C), and unknown (C/C++) */
+ # elif !defined __cplusplus && __STDC_VERSION__ >= 199901L || __cplusplus >= 201103L
--- foo/foo/foo/boost/preprocessor/tuple/elem.hpp
+++ foo/foo/foo/boost/preprocessor/tuple/elem.hpp
@@ -22,7 +22,7 @@