Opened 10 years ago

Last modified 10 years ago

#7377 new Bugs

Abort trap when using Program Options

Reported by: lordthistle@… Owned by: Vladimir Prus
Milestone: To Be Determined Component: program_options
Version: Boost 1.51.0 Severity: Showstopper
Keywords: Cc:

Description

Hello,

I tried to run the simple example provided on the web site at the following URL (file 'first'):

http://www.boost.org/doc/libs/1_51_0/doc/html/program_options/tutorial.html#id2547756

When I run: ./test_po a b c d e OR ./test_po --compression 1 there are no problems.

When I run ./test_po --compression ./test_po -compression ./test_po -a OR ./test_po -a 1 ./test_po -aa oR ./test_po --a 1 the program fails due to an abort trap.

This is my working environment:

  • boost 1.51.1
  • OS X 10.6.8
  • g++ i686-apple-darwin10-g++-4.2.1

Please let me know in case you need more info.

Regards

Change History (1)

comment:1 by anonymous, 10 years ago

I have just realized an exception is thrown.

Note: See TracTickets for help on using tickets.