Boost logo

Boost Users :

From: Victor A. Wagner Jr. (vawjr_at_[hidden])
Date: 2005-07-14 09:45:35

At 01:27 2005-07-14, you wrote:
> > On 7/13/05, Peter Koch Larsen <pkl_at_[hidden]> wrote:
> >> I have a very basic question. Why does path("s:/dbgdata/testdata.2")
> >> throw the exception boost::filesystem::filesystem_error with the
> >> errormessage "boost::filesystem::path: invalid name "s:" in path:
> >> "s:/dbgdata/testdata.2"? It certainly looks as if I've overlooked
> >> something quite fundamental.
> >>
> >> I'm using MSVC 8-0 Beta 2 and boost version 1.32.0.
>Cory Nelson wrote:
> > try passing boost::filesystem::native as the second arg to path()
>Also note that '/' isn't a native directory separator on Windows. Use '\'

'/' works just fine in Windows, always has except from a command shell
if it's an error in boost, then there is an error in boost

>You might also like to disable the checker that is throwing these
>exceptions. See
>and the associated member functions
> static name_check default_name_check( name_check new_check );
>Boost-users mailing list

Victor A. Wagner Jr.
The five most dangerous words in the English language:
               "There oughta be a law"

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at