Boost C++ Libraries: Ticket #8744: Unused Str alias in xml_parser_write.hpp https://svn.boost.org/trac10/ticket/8744 <p> There are number of places in boost/property_tree/detail/xml_parser_write.hpp with </p> <pre class="wiki">typedef typename std::basic_string&lt;Ch&gt; Str; </pre><p> but without use of <em>Str</em> in following code. This leads to annoying compilation warnings. </p> <p> Is it possible to remove those lines? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8744 Trac 1.4.3 Chris Stylianou <chris5287@…> Thu, 18 Jul 2013 19:29:53 GMT <link>https://svn.boost.org/trac10/ticket/8744#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8744#comment:1</guid> <description> <p> GCC 4.8+ warns unused local typedef... </p> <pre class="wiki">xml_parser_write.hpp:38 typedef ‘Str’ locally defined but not used [-Wunused-local-typedefs] </pre><pre class="wiki">xml_parser_write.hpp:72 typedef ‘Str’ locally defined but not used [-Wunused-local-typedefs] </pre><p> Proposed fix attached. </p> </description> <category>Ticket</category> </item> <item> <author>Chris Stylianou <chris5287@…></author> <pubDate>Thu, 18 Jul 2013 19:30:13 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/8744 https://svn.boost.org/trac10/ticket/8744 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">property_tree.patch</span> </li> </ul> Ticket Sebastian Redl Fri, 20 Dec 2013 13:15:21 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8744#comment:2 https://svn.boost.org/trac10/ticket/8744#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">duplicate</span> </li> </ul> <p> Reported again as 8879, I'm marking this the dupe. </p> Ticket