Kaydet (Commit) 29d19c93 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

external/boost: -Werror,-Wdeprecated-declarations

Change-Id: Id7f98b4e10cfbf6585e0f62fffa8837329ee5cb2
üst 2b24bf23
--- 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 @@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment