Boost logo

Boost :

From: Jeff Garland (jeff_at_[hidden])
Date: 2004-04-25 18:14:08


On Mon, 26 Apr 2004 00:14:09 +0200, Andreas Pokorny wrote
> ...
> boost::filesystem::path: invalid name "g++-v3" in path:
> "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3/"
>
> Is that supposed to happen?

Yes, because the default path constructor is checking for 'portable paths'.
Try using the 'native' checking policy instead -- something like:
boost::filesystem::path
 p("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3/",
   boost::filesystem::native)

See the docs for more...

Jeff


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk