[Boost-bugs] [Boost C++ Libraries] #9415: -Wunused-local-typedef with gcc 4.8.1

Subject: [Boost-bugs] [Boost C++ Libraries] #9415: -Wunused-local-typedef with gcc 4.8.1
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-11-20 15:28:48


#9415: -Wunused-local-typedef with gcc 4.8.1
-------------------------+------------------------------
 Reporter: lpasquale@… | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.55.0
 Severity: Problem | Keywords:
-------------------------+------------------------------
 I get a lot of warnings like
 {{{
 /install-dir/boost/include/boost/concept_check.hpp: In function ‘void
 boost::function_requires(Model*)’:
 /install-dir/boost/include/boost/concept/detail/general.hpp:71:20:
 warning: typedef ‘boost_concept_check45’ locally defined but not used
 [-Wunused-local-typedefs]
        BOOST_PP_CAT(boost_concept_check,__LINE__)
                     ^
 /install-dir/boost/include/boost/preprocessor/cat.hpp:29:34: note: in
 definition of macro ‘BOOST_PP_CAT_I’
  # define BOOST_PP_CAT_I(a, b) a ## b
                                   ^
 /install-dir/boost/include/boost/concept/detail/general.hpp:71:7: note: in
 expansion of macro ‘BOOST_PP_CAT’
        BOOST_PP_CAT(boost_concept_check,__LINE__)
        ^
 /install-dir/boost/include/boost/concept/assert.hpp:44:5: note: in
 expansion of macro ‘BOOST_CONCEPT_ASSERT_FN’
      BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
      ^
 /install-dir/boost/include/boost/concept_check.hpp:45:7: note: in
 expansion of macro ‘BOOST_CONCEPT_ASSERT’
        BOOST_CONCEPT_ASSERT((Model));
        ^
 }}}
 generated by different functions, but reletaed to the same macros.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9415>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC