Boost logo

Boost Users :

Subject: Re: [Boost-users] Building FileSystem Version 3 static libraries
From: Roland Bock (rbock_at_[hidden])
Date: 2010-09-14 06:26:49


On 09/14/2010 11:49 AM, PB wrote:
> On Mon, Sep 13, 2010 at 9:54 PM, Bibbo, Joe<Joe.Bibbo_at_[hidden]> wrote:
>
>> I have downloaded the boost v1.44 and would like to see if our usage of the
>> FileSystem library is
>> compatible with Version 3 of library. I am having trouble building the
>>
[...]
>> Is there something else I need to configure to build this version of the
>> library?
>>
> It is my understanding that you don't need to specify
> BOOST_FILESYSTEM_VERSION when building Boost 1.44. This macro is to be
> placed in the preprocessor settings of a program that uses Boost 1.44.
>
>
Better still, if you want to make sure not to use any deprecated stuff
(which might go away later), you do something like this

#define BOOST_FILESYSTEM_VERSION 3 // for boost 1.44, only
#define BOOST_FILESYSTEM_NO_DEPRECATED
#include <boost/filesystem.hpp>


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net