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