|
Boost : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-04-18 04:07:28
Trent Nelson wrote:
> Hi,
>
> With regards to the following lines in the latest version (1.16) of
> program_options's options_description.cpp:
>
> 395: line_end = line_begin + line_length;
> 396: if (line_end > par_end)
> 397: {
> 398: line_end = par_end;
> 399: }
>
> Line 395 causes VC8 to throw a runtime assertion error when processing
> the last line of a multiline option description. This is because
> 'line_begin + line_length' will exceed the actual length of the string,
> and it seems VC8 is pretty intent on not letting that happen, despite
> the fact we correct it in following line.
Hi Trent,
can you provide me is a minimal example that reproduces this problem? I've
tried multiline description just now, and did not get any assertion.
I'd prefer to have a testcase for this bug before fixing it.
Thanks in adavnce,
Volodya
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk