Boost logo

Boost :

Subject: Re: [boost] [filesystem] operations.hpp Won't Compile with VC10 using Boost 1.47
From: Stephan T. Lavavej (stl_at_[hidden])
Date: 2012-02-14 13:40:31

[Robert Stewart]
> When I try to include boost/filesystem/operations.hpp, my code won't compile on MSVC 10 (Visual Studio 2010).
> The error is from boost/filesystem/v3/config.hpp:49:
> # if defined( BOOST_NO_STD_WSTRING )
> # error Configuration not supported: Boost.Filesystem V3 and later requires std::wstring support
> # endif

First, check your command line. If it isn't defining the macro, preprocess with /P /d1PP . The second option is undocumented and unsupported, but extremely useful - it preserves #define directives, so you can see where macros are coming from.

Stephan T. Lavavej
Visual C++ Libraries Developer

Boost list run by bdawes at, gregod at, cpdaniel at, john at