[Boost-bugs] [Boost C++ Libraries] #12332: Couple of bugs found in version 1.60.0

Subject: [Boost-bugs] [Boost C++ Libraries] #12332: Couple of bugs found in version 1.60.0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-07-18 13:58:07


#12332: Couple of bugs found in version 1.60.0
-------------------------+------------------------------
 Reporter: Paz_Offer@… | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.60.0
 Severity: Problem | Keywords:
-------------------------+------------------------------
 Hi Boost,

 Please note the following bug report

 '''BUG-1'''[[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'.

 '''BUG-2'''[[BR]]
 File: 1.60.0\libs\program_options\src\variables_map.cpp[[BR]]
 Line: 71[[BR]]
 Expression: '
 {{{
 string original_token =
 }}}
  ...'[[BR]]
 The bug:[[BR]]
 Variable 'original_token' is already defined in this scope at line 43.
 This new declaration of same variable hides previous declaraion.

 Thanks, Paz

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12332>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC