[Boost-bugs] [Boost C++ Libraries] #3942: BC break, program_options error with multiple occurrences

Subject: [Boost-bugs] [Boost C++ Libraries] #3942: BC break, program_options error with multiple occurrences
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-02-17 21:49:09


#3942: BC break, program_options error with multiple occurrences
----------------------------------------------------+-----------------------
 Reporter: Scott MacVicar <macvicar@…> | Owner: vladimir_prus
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: program_options
  Version: Boost 1.42.0 | Severity: Showstopper
 Keywords: |
----------------------------------------------------+-----------------------
 We recently upgraded a project to 1.42 and noticed that command line
 parsing has regressed since 1.41.

 We defined --config and --config-value, with 1.42 we get an error
 regarding multiple occurrences. In 1.41 this worked without issue.
 {{{
 [macvicar_at_dev457 /tmp] LD_LIBRARY_PATH=/tmp/b142/lib ./a.out --config foo
 --config-value bar
 terminate called after throwing an instance of
 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::program_options::multiple_occurrences>
>'
   what(): multiple occurrences
 Aborted
 [macvicar_at_dev457 /tmp] LD_LIBRARY_PATH=/tmp/b141/lib ./a.out --config foo
 --config-value bar
 config: foo
 config-value: bar
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3942>
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:02 UTC