diff --git a/include/boost/bind/arg.hpp b/include/boost/bind/arg.hpp index 0d5cd03..2cc072a 100644 --- a/include/boost/bind/arg.hpp +++ b/include/boost/bind/arg.hpp @@ -22,6 +22,11 @@ #include #include +#if BOOST_GCC >= 40700 +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-local-typedefs" +#endif + namespace boost { @@ -59,4 +64,9 @@ template< int I > struct is_placeholder< arg (*) () > } // namespace boost +#if BOOST_GCC >= 40700 +#pragma GCC diagnostic pop +#endif + + #endif // #ifndef BOOST_BIND_ARG_HPP_INCLUDED