diff --git a/include/boost/bind/arg.hpp b/include/boost/bind/arg.hpp index 797e2b7..b761b21 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 { @@ -57,4 +62,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