Boost C++ Libraries: Ticket #8888: [python] GCC 4.8+ warns about unused local typedef https://svn.boost.org/trac10/ticket/8888 <p> During the build of Boost, GCC warns about several unused typedefs in Boost.Python. There are many of these that seem like they should be converted to BOOST_STATIC_ASSERT, like this one for example. </p> <pre class="wiki">./boost/python/cast.hpp:73:20: warning: typedef 'must_be_a_complete_type' locally defined but not used [-Wunused-local-typedefs] typedef char must_be_a_complete_type[sizeof(T)]; </pre><p> There's at least one other instance of this problem that I know of. Shall I prepare a patch for this, or is this undesirable for some reason? </p> <p> In the mean time, I'm attaching a patch for another one. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8888 Trac 1.4.3 Petr Machata <pmachata@…> Tue, 23 Jul 2013 14:32:05 GMT attachment set https://svn.boost.org/trac10/ticket/8888 https://svn.boost.org/trac10/ticket/8888 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-1.54.0-python-unused_typedef.patch</span> </li> </ul> <p> A fix. </p> Ticket Petr Machata <pmachata@…> Thu, 05 Sep 2013 23:09:39 GMT attachment set https://svn.boost.org/trac10/ticket/8888 https://svn.boost.org/trac10/ticket/8888 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">0001-python-Drop-backward-compatible-support-in-to_python.patch</span> </li> </ul> <p> This replaces my original patch--the whole block can be removed, as since recently, Boost assumes GCC &gt;= 3. </p> Ticket Petr Machata <pmachata@…> Thu, 05 Sep 2013 23:10:46 GMT attachment set https://svn.boost.org/trac10/ticket/8888 https://svn.boost.org/trac10/ticket/8888 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">0002-python-Convert-a-number-of-assertion-constructs-to-B.patch</span> </li> </ul> <p> This converts a whole bunch of static-assert-alike construct with BOOST_MPL_ASSERT_MSG. </p> Ticket Petr Machata <pmachata@…> Thu, 05 Sep 2013 23:11:16 GMT attachment set https://svn.boost.org/trac10/ticket/8888 https://svn.boost.org/trac10/ticket/8888 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">0003-python-Convert-a-static-assert-like-construct-to-BOO.patch</span> </li> </ul> <p> This converts one additional static-assert-like construct with BOOST_STATIC_ASSERT. </p> Ticket Petr Machata <pmachata@…> Thu, 05 Sep 2013 23:15:49 GMT <link>https://svn.boost.org/trac10/ticket/8888#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8888#comment:1</guid> <description> <p> I verified that there are no regressions in the Python test suite on x86_64 Fedora with these patches applied. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>blastrock</dc:creator> <pubDate>Wed, 03 Sep 2014 09:07:32 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8888#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8888#comment:2</guid> <description> <p> Any news on this? The problem is still present in boost 1.56. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Wed, 29 Apr 2015 11:34:30 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8888#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8888#comment:3</guid> <description> <p> I try to do a pull request for that github.com/boostorg/python/pull/18 </p> </description> <category>Ticket</category> </item> </channel> </rss>