Boost logo

Boost :

Subject: [boost] [filesystem] operations.hpp Won't Compile with VC10 using Boost 1.47
From: Stewart, Robert (Robert.Stewart_at_[hidden])
Date: 2012-02-14 13:29:58

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

I found only the following places where BOOST_NO_STD_WSTRING is defined, and none should apply, so I'm at a loss to understand why my build fails. What have I missed?

./config/platform/amigaos.hpp:12:#define BOOST_NO_STD_WSTRING
./config/platform/symbian.hpp:85:# define BOOST_NO_STD_WSTRING
./config/stdlib/libstdcpp3.hpp:23:# define BOOST_NO_STD_WSTRING
./config/stdlib/modena.hpp:22:#define BOOST_NO_STD_WSTRING
./config/stdlib/sgi.hpp:100:# define BOOST_NO_STD_WSTRING
./config/stdlib/stlport.hpp:109:# define BOOST_NO_STD_WSTRING

Rob Stewart robert.stewart_at_[hidden]
Software Engineer using std::disclaimer;
Dev Tools & Components
Susquehanna International Group, LLP


IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.

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