summaryrefslogtreecommitdiffstats
path: root/external/boost/boost.concept_check.Wunused-local-typedefs.warnings.patch
blob: 309679441f23b609cb5155fcfd96c5e125b32543 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- misc/boost_1_44_0/boost/concept/detail/general.hpp
+++ misc/build/boost_1_44_0/boost/concept/detail/general.hpp
@@ -68,7 +68,9 @@
 #  define BOOST_CONCEPT_ASSERT_FN( ModelFnPtr )             \
     typedef ::boost::concepts::detail::instantiate<          \
     &::boost::concepts::requirement_<ModelFnPtr>::failed>    \
-      BOOST_PP_CAT(boost_concept_check,__LINE__)
+      BOOST_PP_CAT(boost_concept_check,__LINE__); \
+    void BOOST_PP_CAT(boost_concept_check_dummy,__LINE__)(BOOST_PP_CAT(boost_concept_check,__LINE__) *)
+        // silence -Werror=unused-local-typedefs (GCC 4.8)
 
 }}