Subject: [Boost-bugs] [Boost C++ Libraries] #5055: Quickbook (Trunk) Windows Compile Errors
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-01-10 07:22:43
#5055: Quickbook (Trunk) Windows Compile Errors
-------------------------------------------+--------------------------------
Reporter: raptorfactor@⦠| Owner: djowel
Type: Patches | Status: new
Milestone: To Be Determined | Component: quickbook
Version: Boost Development Trunk | Severity: Regression
Keywords: quickbook filesystem |
-------------------------------------------+--------------------------------
Under Windows, the default character type for file paths is wchar_t. The
Quickbook code assumes that it's char, and as such, compile errors are
caused by the use of boost::filesystem::path::native. Quickbook should
instead be using boost::filesystem::path::string, which is the same as
'native', in that it still returns a native path, it just always returns
it as a narrow string.
Technically this is a bandaid fix, and Quickbook should be updated to
support wide paths so they can be used under Windows (as it's the only way
to support certain locales correctly), but that's a totally different
issue.
At least with this patch it should now compile.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5055> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:05 UTC