Fixes #9886. Suppress -Wshadow-warnings warnings inside multi_array implementation.

This commit is contained in:
Ronald Garcia 2014-05-01 11:47:26 -07:00
parent 8da3864210
commit 013ed850c5

View File

@ -18,6 +18,11 @@
// declaration and definition
//
#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406)
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wshadow"
#endif
#include "boost/multi_array/base.hpp"
#include "boost/multi_array/collection_concept.hpp"
#include "boost/multi_array/copy_array.hpp"
@ -496,4 +501,8 @@ private:
} // namespace boost
#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406)
# pragma GCC diagnostic pop
#endif
#endif // BOOST_MULTI_ARRAY_RG071801_HPP