
26 Feb
2008
26 Feb
'08
7:29 p.m.
Lev Borovoi wrote:
I've found the following bug in program_options:
When printing the options syntax, if it doesn't fit in one line, the library crashes.
At what line and with what diagnostics?
Here is a minimal reproduction:
options_description opts;
opts.add_options()("option", "A very long description. A very long description. A very long description. A very long description. A very long description.");
cout << opts;
I work on XP professional x64 SP1 and use Boost 1.33.1
Please try 1.34.1 -- a similar bug was fixed there. - Volodya