Boost C++ Libraries: Ticket #5055: Quickbook (Trunk) Windows Compile Errors https://svn.boost.org/trac10/ticket/5055 <p> 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. </p> <p> 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. </p> <p> At least with this patch it should now compile. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5055 Trac 1.4.3 Joshua Boyce <raptorfactor@…> Mon, 10 Jan 2011 07:23:02 GMT attachment set https://svn.boost.org/trac10/ticket/5055 https://svn.boost.org/trac10/ticket/5055 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">quickbook_windows_compile.patch</span> </li> </ul> Ticket Joshua Boyce <raptorfactor@…> Mon, 10 Jan 2011 07:53:58 GMT type, milestone changed https://svn.boost.org/trac10/ticket/5055#comment:1 https://svn.boost.org/trac10/ticket/5055#comment:1 <ul> <li><strong>type</strong> <span class="trac-field-old">Patches</span> → <span class="trac-field-new">Bugs</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.46.0</span> </li> </ul> Ticket Daniel James Mon, 10 Jan 2011 08:23:32 GMT <link>https://svn.boost.org/trac10/ticket/5055#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5055#comment:2</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/67908" title="Fix quickbook windows compile error. Refs #5055. Patch by Joshua ...">[67908]</a>) Fix quickbook windows compile error. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5055" title="#5055: Bugs: Quickbook (Trunk) Windows Compile Errors (closed: fixed)">#5055</a>. </p> <p> Patch by Joshua Boyce. Thanks. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Daniel James</dc:creator> <pubDate>Mon, 10 Jan 2011 08:28:49 GMT</pubDate> <title>owner, status changed https://svn.boost.org/trac10/ticket/5055#comment:3 https://svn.boost.org/trac10/ticket/5055#comment:3 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Joel de Guzman</span> to <span class="trac-author">Daniel James</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> I've created a new ticket <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5056" title="#5056: Bugs: Support wide paths in Quickbook (closed: fixed)">#5056</a> for supporting wide paths. </p> Ticket Daniel James Thu, 13 Jan 2011 18:18:22 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5055#comment:4 https://svn.boost.org/trac10/ticket/5055#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/68115" title="Merge quickbook from trunk. - Use a single symbol table for all ...">[68115]</a>) Merge quickbook from trunk. </p> <ul><li>Use a single symbol table for all elements. </li><li>Fix filesystem use on windows. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5055" title="#5055: Bugs: Quickbook (Trunk) Windows Compile Errors (closed: fixed)">#5055</a>. </li></ul> Ticket