$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r75729 - trunk/tools/quickbook/src
From: dnljms_at_[hidden]
Date: 2011-11-29 16:56:16
Author: danieljames
Date: 2011-11-29 16:56:15 EST (Tue, 29 Nov 2011)
New Revision: 75729
URL: http://svn.boost.org/trac/boost/changeset/75729
Log:
Quickbook: Windows compile fixes.
I really need to use either a custom string class or a custom stream class to
avoid this.
Text files modified: 
   trunk/tools/quickbook/src/code_snippet.cpp |     8 ++++++--                                
   trunk/tools/quickbook/src/quickbook.cpp    |     2 +-                                      
   2 files changed, 7 insertions(+), 3 deletions(-)
Modified: trunk/tools/quickbook/src/code_snippet.cpp
==============================================================================
--- trunk/tools/quickbook/src/code_snippet.cpp	(original)
+++ trunk/tools/quickbook/src/code_snippet.cpp	2011-11-29 16:56:15 EST (Tue, 29 Nov 2011)
@@ -528,13 +528,17 @@
         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;
             }
             
Modified: trunk/tools/quickbook/src/quickbook.cpp
==============================================================================
--- trunk/tools/quickbook/src/quickbook.cpp	(original)
+++ trunk/tools/quickbook/src/quickbook.cpp	2011-11-29 16:56:15 EST (Tue, 29 Nov 2011)
@@ -68,7 +68,7 @@
             if (!info.full) {
                 detail::outerr()
                     << "Error parsing command line definition: '"
-                    << *it
+                    << detail::utf8(*it)
                     << "'"
                     << std::endl;
                 ++actor.error_count;