Boost logo

Boost Users :

From: Paul (elegant_dice_at_[hidden])
Date: 2005-01-19 20:39:43

 --- Beman Dawes <bdawes_at_[hidden]> wrote:
> At 04:46 AM 1/19/2005, Paul wrote:
> >I'm having killer problems with the filesystem library.
> >
> >I'm compiling it with bjam "-sTOOLS=mingw", which seems to work
> just
> >fine. All the tests pass etc.
> >
> >Then I wrote this simple program:...
> I'm guessing BOOST_POSIX is getting defined, so you need to define
> BOOST_WINDOWS if you want the Windows rather POSIX behavior. See
> for
> discussion.
> There have been past reports of problems with Cygwin; perhaps mingw
> has
> similar issues.

I tried this by editing the mingw-tools.jam file and adding
-DBOOST_WINDOWS (and also -D__WIN32__), its the same behaviour. Note I
also set the define while compiling my own test cpp files.

Plus, the BOOST_PLATFORM #define was originally (and correctly) set to
WIN32. I printed it out just like the filesystem-test does it.

The puzzling thing is it works fine with libboost_file....lib, but not
with boost_file....dll yet it was compiled using the same bjam and the
same toolset?


Find local movie times and trailers on Yahoo! Movies.

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