$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r61879 - trunk/tools/quickbook/detail
From: daniel_james_at_[hidden]
Date: 2010-05-09 12:07:02
Author: danieljames
Date: 2010-05-09 12:07:02 EDT (Sun, 09 May 2010)
New Revision: 61879
URL: http://svn.boost.org/trac/boost/changeset/61879
Log:
Fix quickbook for c++0x mode.
Text files modified:
trunk/tools/quickbook/detail/utils.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Modified: trunk/tools/quickbook/detail/utils.cpp
==============================================================================
--- trunk/tools/quickbook/detail/utils.cpp (original)
+++ trunk/tools/quickbook/detail/utils.cpp 2010-05-09 12:07:02 EDT (Sun, 09 May 2010)
@@ -211,9 +211,9 @@
{
if(begin == end) return "";
- const char utf8[] = {0xef, 0xbb, 0xbf};
- const char utf32be[] = {0, 0, 0xfe, 0xff};
- const char utf32le[] = {0xff, 0xfe, 0, 0};
+ const char* utf8 = "\xef\xbb\xbf" ;
+ const char* utf32be = "\0\0\xfe\xff";
+ const char* utf32le = "\xff\xfe\0\0";
unsigned char c = *begin;
switch(c)