From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-02-01 12:05:16
> Initial Comment:
> I use Borland C++ 6 under Windows and I am trying to
> use program_options library.
> It seems that if I add a nonhandled parameter to
> command line the program hangs.
> For example using first.cpp and adding --unhandled to
> command line.
> in parsers.hpp:
> template<class charT>
> basic_command_line_parser<charT>::run() const
> // Presense of parsed_options ->
> wparsed_options conversion
> // does the trick.
> ==== HERE! ===> return basic_parsed_options<charT>(
Is it possible that you debug further, and figure out where the hang
actually happens? The library did worked on my version of borland, and
I don't have Builder 6.
The expected behavior in this case is an exception. Is it possible that
throwing/handling the exception causes the hang?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk