#2155 closed Bugs (fixed)
Quickbook asserts for windows newlines.
Reported by: | Daniel James | Owned by: | Joel de Guzman |
---|---|---|---|
Milestone: | Boost 1.37.0 | Component: | quickbook |
Version: | Boost 1.35.0 | Severity: | Showstopper |
Keywords: | Cc: |
Description
When I run a debug build of quickbook with the attached file, I get this error:
Generating Output File: tutorial.xml quickbook: detail/collector.cpp:46: quickbook::collector::~collector(): Assertion `streams.empty()' failed. zsh: abort tutorial.qbk
This is processing a windows file (ie. CRLF newlines) on linux. I'm assuming that this is caused by the windows newlines because there are no problems with unix style LF newlines.
Attachments (2)
Change History (4)
by , 14 years ago
Attachment: | tutorial.qbk added |
---|
by , 14 years ago
Attachment: | simpler.qbk added |
---|
comment:1 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 14 years ago
(In [49242]) Merge quickbook workaround and fix some links.
Merged revisions 48987,49230-49231 via svnmerge from https://svn.boost.org/svn/boost/trunk
........
r48987 | danieljames | 2008-09-28 13:21:39 +0100 (Sun, 28 Sep 2008) | 1 line
Clean up some link errors.
........
r49230 | danieljames | 2008-10-09 23:13:48 +0100 (Thu, 09 Oct 2008) | 1 line
position_iterator is meant to be a forward iterator, so avoid using operator+ with it.
........
r49231 | danieljames | 2008-10-09 23:14:14 +0100 (Thu, 09 Oct 2008) | 4 lines
Work around the problems with window newlines in position_iterator. (I'm about to fix them, but this will get quickbook working immediately).
Fixes #2155
........
a simpler qbk file that exhibits the problem