[Boost-bugs] [ boost-Support Requests-1114084 ] program_options bug?

Support Requests item #1114084, was opened at 2005-02-01 08:03 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=207586&aid=1114084&group_id=7586 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: program_options bug? 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_parsed_options<charT> basic_command_line_parser<charT>::run() const { // Presense of parsed_options -> wparsed_options conversion // does the trick. ==== HERE! ===> return basic_parsed_options<charT>( common_command_line_parser::run()); } thanks ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=207586&aid=1114084&group_id=7586 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Boost-bugs mailing list Boost-bugs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/boost-bugs

SourceForge.net <noreply <at> sourceforge.net> writes:
Support Requests item #1114084, was opened at 2005-02-01 08:03 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?
func=detail&atid=207586&aid=1114084&group_id=7586
Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: program_options bug?
I wonder if it's possible to prevent anonymous issue sumbmission? When sumbitter is anonymous, he won't get notification about any comments I add to the tracker, so adding such comments seems useless. Or is it expected that such emails are replied here, not in the tracker? - Volodya

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_parsed_options<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? - Volodya
participants (2)
-
SourceForge.net
-
Vladimir Prus