Opened 12 years ago
Closed 12 years ago
#5055 closed Bugs (fixed)
Quickbook (Trunk) Windows Compile Errors
Reported by: | Owned by: | Daniel James | |
---|---|---|---|
Milestone: | Boost 1.46.0 | Component: | quickbook |
Version: | Boost Development Trunk | Severity: | Regression |
Keywords: | quickbook filesystem | Cc: |
Description
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.
Attachments (1)
Change History (5)
by , 12 years ago
Attachment: | quickbook_windows_compile.patch added |
---|
comment:1 by , 12 years ago
Milestone: | To Be Determined → Boost 1.46.0 |
---|---|
Type: | Patches → Bugs |
comment:2 by , 12 years ago
comment:3 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
I've created a new ticket #5056 for supporting wide paths.
comment:4 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [67908]) Fix quickbook windows compile error. Refs #5055.
Patch by Joshua Boyce. Thanks.