Boost C++ Libraries: Ticket #8859: [PATCH] Uses of BOOST_STATIC_WARNING warn with recent GCC https://svn.boost.org/trac10/ticket/8859 <p> This is related to <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7242" title="#7242: Bugs: GCC 4.8 warns unused local typedef (closed: fixed)">#7242</a> (GCC 4.8 warns unused local typedef). The cause and solution are the same as there. Similar problem is also <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8847" title="#8847: Bugs: [PATCH] Uses of BOOST_CONCEPT_ASSERT_FN warn with recent GCC (closed: duplicate)">#8847</a>, where I simply use BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE from <a class="missing wiki">StaticAssert</a> library. That's what I implemented here as well. </p> <p> (Note: while BOOST_STATIC_WARNING should produce a warning, it shouldn't produce it unconditionally, which is what happens here. As a matter of fact, I don't get any warning at all as of now. I'm addressing that separately at ticket <a class="new ticket" href="https://svn.boost.org/trac10/ticket/5637" title="#5637: Tasks: use of mpl::print imposes default constructible requirement on argument (new)">#5637</a>.) </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8859 Trac 1.4.3 pmachata@… Fri, 19 Jul 2013 00:06:04 GMT attachment set https://svn.boost.org/trac10/ticket/8859 https://svn.boost.org/trac10/ticket/8859 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-1.54.0-static_warning-unused_typedef.patch</span> </li> </ul> <p> A fix. </p> Ticket anonymous Tue, 06 Aug 2013 11:02:32 GMT <link>https://svn.boost.org/trac10/ticket/8859#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8859#comment:1</guid> <description> <p> This one hits me as well, I'd love to see the patch applied. </p> <p> John Maddock </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Robert Ramey</dc:creator> <pubDate>Tue, 20 Aug 2013 21:57:02 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/8859#comment:2 https://svn.boost.org/trac10/ticket/8859#comment:2 <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> <p> well, you're obviously a lot more up to date on this than I am (A second endorsement is pretty convincing also) so I'm just going to take your word for it and apply this patch. Thanks for looking into this. </p> <p> Robert Ramey </p> Ticket