Opened 7 years ago
Closed 7 years ago
#11574 closed Bugs (fixed)
program_options: wrong option name in error message on linux
Reported by: | Owned by: | Vladimir Prus | |
---|---|---|---|
Milestone: | To Be Determined | Component: | program_options |
Version: | Boost 1.55.0 | Severity: | Problem |
Keywords: | program_options error message option name | Cc: |
Description
To reproduce (bug occurs only on Linux):
- compile the attached code sample
- call the executable as follows
./wrong_option_name_in_error_message --enable-debug --enable-debug
OK: On Windows (Visual Studio 12 2013) the option name '--enable-debug' is contained as expected in the error message:
option '--enable-debug' cannot be specified more than once
BUG: On Linux (gcc 4.7.2) only the last part of the option name '--enable-debug' (=> '--debug') is contained in the error message:
option '--debug' cannot be specified more than once
Attachments (1)
Change History (4)
by , 7 years ago
Attachment: | wrong_option_name_in_error_message.cpp added |
---|
comment:1 by , 7 years ago
Version: | Boost 1.57.0 → Boost 1.55.0 |
---|
comment:2 by , 7 years ago
@Vladimir: Please close this Ticket.
The issue occurs with boost 1.55 and has been resolved in a later version of boost (tested with boost 1.57).
comment:3 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Michael,
thanks for reminder, closing.
Note:
See TracTickets
for help on using tickets.
code example for reproducing the bug