Boost C++ Libraries: Ticket #12332: Couple of bugs found in version 1.60.0 https://svn.boost.org/trac10/ticket/12332 <p> Hi Boost, </p> <p> Please note the following bug report </p> <p> <strong>BUG-1</strong><br /> File: 1.60.0\boost\program_options\detail\cmdline.hpp<br /> Line: 139<br /> Expression: 'args'<br /> The bug:<br /> This variable is a member of class 'cmdline', thus name should be prefixed with 'm_'. This later will become a problem as methods arguments are using the name 'args' for method arguments and thus new 'args' is hiding class member 'args'. </p> <p> <strong>BUG-2</strong><br /> File: 1.60.0\libs\program_options\src\variables_map.cpp<br /> Line: 71<br /> Expression: ' </p> <pre class="wiki">string original_token = </pre><blockquote> <p> ...'<br /> </p> </blockquote> <p> The bug:<br /> Variable 'original_token' is already defined in this scope at line 43. This new declaration of same variable hides previous declaraion. </p> <p> Thanks, Paz </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12332 Trac 1.4.3 Michel Morin Mon, 18 Jul 2016 16:59:33 GMT component changed; owner set https://svn.boost.org/trac10/ticket/12332#comment:1 https://svn.boost.org/trac10/ticket/12332#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Vladimir Prus</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">program_options</span> </li> </ul> Ticket