summaryrefslogtreecommitdiff
path: root/external/boost
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-11-14 22:48:20 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-11-14 22:48:58 +0100
commit29d19c930ca5f1fb26ea6f549a5f340aac6dc138 (patch)
tree45e738b9e32c318dd29ee7ebbdf264775f75f17b /external/boost
parent2b24bf23697f2461c5b480814240daf82f2929ff (diff)
external/boost: -Werror,-Wdeprecated-declarations
Change-Id: Id7f98b4e10cfbf6585e0f62fffa8837329ee5cb2
Diffstat (limited to 'external/boost')
-rw-r--r--external/boost/boost.wdeprecated-auto_ptr.patch.024
1 files changed, 24 insertions, 0 deletions
diff --git a/external/boost/boost.wdeprecated-auto_ptr.patch.0 b/external/boost/boost.wdeprecated-auto_ptr.patch.0
index 09641107a2e0..959cb13a6f77 100644
--- a/external/boost/boost.wdeprecated-auto_ptr.patch.0
+++ b/external/boost/boost.wdeprecated-auto_ptr.patch.0
@@ -1,3 +1,27 @@
+--- boost/ptr_container/ptr_map.hpp
++++ boost/ptr_container/ptr_map.hpp
+@@ -16,6 +16,12 @@
+ # pragma once
+ #endif
+
++#include <config_global.h>
++#if defined(__GNUC__) && HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE
++# pragma GCC diagnostic push
++# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
++#endif
++
+ #include <map>
+ #include <boost/ptr_container/ptr_map_adapter.hpp>
+
+@@ -162,4 +168,8 @@
+
+ }
+
++#if defined(__GNUC__) && HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE
++# pragma GCC diagnostic pop
++#endif
++
+ #endif
--- boost/ptr_container/ptr_map_adapter.hpp
+++ boost/ptr_container/ptr_map_adapter.hpp
@@ -16,6 +16,12 @@