Boost C++ Libraries: Ticket #4135: C:\Program Files\boost\boost_1_42_0\boost/iostreams/detail/path.hpp(53) : error C2825: 'Path': must be a class or namespace when followed by '::' https://svn.boost.org/trac10/ticket/4135 <p> When trying to compile a project in VisualStudio2005 and using boost1.42 I get errors (when including boost/iostreams for example) that is attached in the "log" that I've created. </p> <p> I don't get this error on Linux with boost 1.38 </p> <p> I've built my own boost 1.42 as per instructions in "Boost Getting Started on Windows". </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4135 Trac 1.4.3 pele@… Wed, 21 Apr 2010 18:38:24 GMT attachment set https://svn.boost.org/trac10/ticket/4135 https://svn.boost.org/trac10/ticket/4135 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">BuildLog.htm</span> </li> </ul> <p> Build log </p> Ticket pele@… Thu, 22 Apr 2010 10:05:45 GMT <link>https://svn.boost.org/trac10/ticket/4135#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4135#comment:1</guid> <description> <p> I also get those same errors when using 1.42 binaries from boostpro. I don't get them using 1.38 boostpro bins. All on vstudio2005. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Daniel James</dc:creator> <pubDate>Thu, 22 Apr 2010 10:27:34 GMT</pubDate> <title>owner, status, severity, milestone changed https://svn.boost.org/trac10/ticket/4135#comment:2 https://svn.boost.org/trac10/ticket/4135#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Jonathan Turkanis</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> <li><strong>severity</strong> <span class="trac-field-old">Showstopper</span> → <span class="trac-field-new">Regression</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.43.0</span> → <span class="trac-field-new">Boost 1.44.0</span> </li> </ul> <p> Sorry, it's probably too late to fix this for 1.43. I think that the problem is that you're constructing with a <code>char*</code> which is a closer match for the templated constructor (which is intended to be used with a Boost.Filesystem path) than for the <code>const char*</code> constructor. So as a temporary workaround you could try casting to <code>const char*</code> when constructing the path. I'll try to come up with a proper fix in trunk soon. </p> Ticket Daniel James Thu, 22 Apr 2010 22:51:26 GMT <link>https://svn.boost.org/trac10/ticket/4135#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4135#comment:3</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/61497" title="Only support the templated constructor for types with an ...">[61497]</a>) Only support the templated constructor for types with an 'external_string_type' member. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4135" title="#4135: Bugs: C:\Program ... (closed: fixed)">#4135</a>. </p> <p> Using SFINAE, I might add a workaround for compilers that don't support it, although I'm not sure if there are any that Iostreams supports. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Wed, 28 Apr 2010 08:26:38 GMT</pubDate> <title>milestone changed https://svn.boost.org/trac10/ticket/4135#comment:4 https://svn.boost.org/trac10/ticket/4135#comment:4 <ul> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.44.0</span> → <span class="trac-field-new">Boost 1.43.0</span> </li> </ul> Ticket Daniel James Wed, 28 Apr 2010 08:29:13 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4135#comment:5 https://svn.boost.org/trac10/ticket/4135#comment:5 <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/61641" title="Merge iostreams. Fixes #4135 and some small tweaks for clang. ">[61641]</a>) Merge iostreams. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4135" title="#4135: Bugs: C:\Program ... (closed: fixed)">#4135</a> and some small tweaks for clang. </p> Ticket