Boost C++ Libraries: Ticket #9415: -Wunused-local-typedef with gcc 4.8.1 https://svn.boost.org/trac10/ticket/9415 <p> I get a lot of warnings like </p> <pre class="wiki">/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)); ^ </pre><p> generated by different functions, but reletaed to the same macros. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9415 Trac 1.4.3 viboes Fri, 29 Nov 2013 21:27:50 GMT component changed; owner set https://svn.boost.org/trac10/ticket/9415#comment:1 https://svn.boost.org/trac10/ticket/9415#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">jsiek</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">concept_check</span> </li> </ul> Ticket Heungson Lee Thu, 02 Jan 2014 11:58:54 GMT <link>https://svn.boost.org/trac10/ticket/9415#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9415#comment:2</guid> <description> <p> I got the same warnings with gcc 4.8.2 </p> </description> <category>Ticket</category> </item> <item> <author>acharles <acharles@…></author> <pubDate>Tue, 18 Feb 2014 07:46:28 GMT</pubDate> <title>milestone changed https://svn.boost.org/trac10/ticket/9415#comment:3 https://svn.boost.org/trac10/ticket/9415#comment:3 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.56.0</span> </li> </ul> <p> Fixed by: <a class="ext-link" href="https://github.com/boostorg/concept_check/commit/d2d56f6de842a90925c31bdf09f5e3c87b5cda8e"><span class="icon">​</span>https://github.com/boostorg/concept_check/commit/d2d56f6de842a90925c31bdf09f5e3c87b5cda8e</a> </p> <p> Fix will be in the next release. </p> Ticket Daniel James Tue, 18 Feb 2014 08:20:30 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/9415#comment:4 https://svn.boost.org/trac10/ticket/9415#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket