Quickbook: Windows compile fixes.

I really need to use either a custom string class or a custom stream class to
avoid this.


[SVN r75729]
This commit is contained in:
Daniel James
2011-11-29 21:56:15 +00:00
parent 354f26e020
commit a30b43f166
2 changed files with 7 additions and 3 deletions

View File

@@ -528,13 +528,17 @@ namespace quickbook
while (snippet_stack) {
if (qbk_version_n >= 106u) {
detail::outerr(source_file->path)
<< "Unclosed snippet '" << snippet_stack->id << "'"
<< "Unclosed snippet '"
<< detail::utf8(snippet_stack->id)
<< "'"
<< std::endl;
++error_count;
}
else {
detail::outwarn(source_file->path)
<< "Unclosed snippet '" << snippet_stack->id << "'"
<< "Unclosed snippet '"
<< detail::utf8(snippet_stack->id)
<< "'"
<< std::endl;
}

View File

@@ -68,7 +68,7 @@ namespace quickbook
if (!info.full) {
detail::outerr()
<< "Error parsing command line definition: '"
<< *it
<< detail::utf8(*it)
<< "'"
<< std::endl;
++actor.error_count;