diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-11-14 18:10:34 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-14 18:10:42 +0100 |
commit | 21865dd39191bff9fd395d5c13ee4b32237e07ed (patch) | |
tree | 6c3c2e47bddbbd3f62ebc9a03dee1ff8644c2bf1 /external/boost | |
parent | f4714220903cbd657fbb4d103fb5293f5b8f7cf8 (diff) |
external/clucene: -Werror,-Wdeprecated-declarations
Change-Id: I05eb08927f27188eeb0998b09293fea05d037a41
Diffstat (limited to 'external/boost')
-rw-r--r-- | external/boost/boost.wdeprecated-auto_ptr.patch.0 | 24 |
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 c1cfea73b4be..09641107a2e0 100644 --- a/external/boost/boost.wdeprecated-auto_ptr.patch.0 +++ b/external/boost/boost.wdeprecated-auto_ptr.patch.0 @@ -69,6 +69,30 @@ +#endif + #endif +--- boost/ptr_container/ptr_vector.hpp ++++ boost/ptr_container/ptr_vector.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 <vector> + #include <boost/ptr_container/ptr_sequence_adapter.hpp> + +@@ -74,4 +80,8 @@ + + } + ++#if defined(__GNUC__) && HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE ++# pragma GCC diagnostic pop ++#endif ++ + #endif --- boost/smart_ptr/detail/shared_count.hpp +++ boost/smart_ptr/detail/shared_count.hpp @@ -18,6 +18,12 @@ |