Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-02-26 14:29:07


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk