From d28b2bc733d85b0bb194f395375f2a460b9be00d Mon Sep 17 00:00:00 2001
From: Michael Stahl <mstahl@redhat.com>
Date: Wed, 30 Apr 2014 12:27:55 +0200
Subject: [PATCH] multi_array: suppress GCC -Wshadow warnings (fixes: #9886)
---
include/boost/multi_array.hpp | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/include/boost/multi_array.hpp b/include/boost/multi_array.hpp
index 8193699..72b2294 100644
|
a
|
b
|
|
| 18 | 18 | // declaration and definition |
| 19 | 19 | // |
| 20 | 20 | |
| | 21 | #if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) |
| | 22 | # pragma GCC diagnostic push |
| | 23 | # pragma GCC diagnostic ignored "-Wshadow" |
| | 24 | #endif |
| | 25 | |
| 21 | 26 | #include "boost/multi_array/base.hpp" |
| 22 | 27 | #include "boost/multi_array/collection_concept.hpp" |
| 23 | 28 | #include "boost/multi_array/copy_array.hpp" |
| … |
… |
private:
|
| 496 | 501 | |
| 497 | 502 | } // namespace boost |
| 498 | 503 | |
| | 504 | #if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) |
| | 505 | # pragma GCC diagnostic pop |
| | 506 | #endif |
| | 507 | |
| 499 | 508 | #endif // BOOST_MULTI_ARRAY_RG071801_HPP |