Re: [Boost-bugs] [Boost C++ Libraries] #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 '::'

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #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 '::'
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-04-22 10:27:35


#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 '::'
------------------------------+---------------------------------------------
 Reporter: pele@… | Owner: danieljames
     Type: Bugs | Status: assigned
Milestone: Boost 1.44.0 | Component: iostreams
  Version: Boost 1.42.0 | Severity: Regression
 Keywords: |
------------------------------+---------------------------------------------
Changes (by danieljames):

  * owner: turkanis => danieljames
  * status: new => assigned
  * severity: Showstopper => Regression
  * milestone: Boost 1.43.0 => Boost 1.44.0

Comment:

 Sorry, it's probably too late to fix this for 1.43. I think that the
 problem is that you're constructing with a `char*` which is a closer match
 for the templated constructor (which is intended to be used with a
 Boost.Filesystem path) than for the `const char*` constructor. So as a
 temporary workaround you could try casting to `const char*` when
 constructing the path. I'll try to come up with a proper fix in trunk
 soon.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4135#comment:2>
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:02 UTC