Boost C++ Libraries: Ticket #8971: -Wunused-local-typedefs warnings with GCC 4.8.1 https://svn.boost.org/trac10/ticket/8971 <p> I'm getting many warnings "-Wunused-local-typedefs" when compiling with GCC 4.8.1 using the latest Boost SVN sources: </p> <pre class="wiki">/mn/anatu/cma-u3/tmac/usr/include/boost/multi_array/concept_checks.hpp: In static member function ‘static void boost::multi_array_concepts::detail::idgen_helper&lt;N&gt;::call(Array&amp;, const IdxGen&amp;, Call_Type)’: /mn/anatu/cma-u3/tmac/usr/include/boost/multi_array/concept_checks.hpp:42:43: warning: typedef ‘index_range’ locally defined but not used [-Wunused-local-typedefs] typedef typename Array::index_range index_range; ^ /mn/anatu/cma-u3/tmac/usr/include/boost/multi_array/concept_checks.hpp:43:37: warning: typedef ‘index’ locally defined but not used [-Wunused-local-typedefs] typedef typename Array::index index; ^ /mn/anatu/cma-u3/tmac/usr/include/boost/multi_array/concept_checks.hpp: In static member function ‘static void boost::multi_array_concepts::detail::idgen_helper&lt;0ul&gt;::call(Array&amp;, const IdxGen&amp;, Call_Type)’: /mn/anatu/cma-u3/tmac/usr/include/boost/multi_array/concept_checks.hpp:53:43: warning: typedef ‘index_range’ locally defined but not used [-Wunused-local-typedefs] typedef typename Array::index_range index_range; ^ /mn/anatu/cma-u3/tmac/usr/include/boost/multi_array/concept_checks.hpp:54:37: warning: typedef ‘index’ locally defined but not used [-Wunused-local-typedefs] typedef typename Array::index index; </pre><p> and </p> <pre class="wiki">/mn/anatu/cma-u3/tmac/usr/include/boost/tuple/detail/tuple_basic.hpp: In function ‘typename boost::tuples::access_traits&lt;typename boost::tuples::element&lt;N, boost::tuples::cons&lt;HT, TT&gt; &gt;::type&gt;::const_type boost::tuples::get(const boost::tuples::cons&lt;HT, TT&gt;&amp;)’: /mn/anatu/cma-u3/tmac/usr/include/boost/tuple/detail/tuple_basic.hpp:228:45: warning: typedef ‘cons_element’ locally defined but not used [-Wunused-local-typedefs] typedef BOOST_DEDUCED_TYPENAME impl::type cons_element; </pre><p> and </p> <pre class="wiki">/mn/anatu/cma-u3/tmac/usr/include/boost/bind/arg.hpp: In constructor ‘boost::arg&lt;I&gt;::arg(const T&amp;)’: /mn/anatu/cma-u3/tmac/usr/include/boost/bind/arg.hpp:37:22: warning: typedef ‘T_must_be_placeholder’ locally defined but not used [-Wunused-local-typedefs] typedef char T_must_be_placeholder[ I == is_placeholder&lt;T&gt;::value? 1: -1 ]; </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8971 Trac 1.4.3 viboes Sat, 10 Aug 2013 07:26:46 GMT component changed; owner set https://svn.boost.org/trac10/ticket/8971#comment:1 https://svn.boost.org/trac10/ticket/8971#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Ronald Garcia</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">multi_array</span> </li> </ul> Ticket anonymous Tue, 26 Nov 2013 15:53:12 GMT <link>https://svn.boost.org/trac10/ticket/8971#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8971#comment:2</guid> <description> <p> bump. I am not skilled enough to figure out of to cleanly suppress this warning, which is quite annoying. Any chance for a patch? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>timblechmann</dc:creator> <pubDate>Sat, 07 Dec 2013 11:18:26 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8971#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8971#comment:3</guid> <description> <p> compare <a class="ext-link" href="https://github.com/boostorg/bind/pull/2"><span class="icon">​</span>https://github.com/boostorg/bind/pull/2</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>timblechmann</dc:creator> <pubDate>Sat, 07 Dec 2013 11:25:23 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8971#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8971#comment:4</guid> <description> <p> and <a class="ext-link" href="https://github.com/boostorg/tuple/pull/1"><span class="icon">​</span>https://github.com/boostorg/tuple/pull/1</a> </p> </description> <category>Ticket</category> </item> </channel> </rss>