Boost C++ Libraries: Ticket #12338: compiler warnings in unused variables and typedef https://svn.boost.org/trac10/ticket/12338 <p> Compiling boost/numeric/interval gave compiler warnings. </p> <p> The following changes fixes these: </p> <pre class="wiki">--- boost_1_61_0/boost/numeric/interval/arith2.hpp 2016-05-05 23:13:19.000000000 +0200 +++ b/boost/numeric/interval/arith2.hpp 2016-07-21 14:19:20.675084428 +0200 @@ -273,7 +273,6 @@ if (interval_lib::detail::test_input(x)) return I::empty(); assert(k &gt; 0); if (k == 1) return x; - typename Policies::rounding rnd; typedef typename interval_lib::unprotect&lt;I&gt;::type R; if (!interval_lib::user::is_pos(x.upper())) { if (interval_lib::user::is_zero(x.upper())) { --- boost_1_61_0/boost/numeric/interval/utility.hpp 2016-05-05 23:13:19.000000000 +0200 +++ b/boost/numeric/interval/utility.hpp 2016-07-21 14:19:54.064881144 +0200 @@ -248,7 +248,6 @@ template&lt;class T, class Policies&gt; inline T norm(const interval&lt;T, Policies&gt;&amp; x) { - typedef interval&lt;T, Policies&gt; I; if (interval_lib::detail::test_input(x)) { typedef typename Policies::checking checking; return checking::nan(); </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12338 Trac 1.4.3