Boost logo

Boost :

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


Stephan T. Lavavej wrote:
> [Robert Stewart]
> > BOOST_NO_STD_WSTRING didn't appear in the output. This was
> > a false alarm. Why does VC print #error messages that are
> > conditionally compiled and don't apply!
>
> It doesn't:
>
> C:\Temp>type meow.cpp
> # if defined( BOOST_NO_STD_WSTRING )
> # error Configuration not supported: Boost.Filesystem V3
> and later requires std::wstring support
> # endif
>
> int main() { }
>
> C:\Temp>cl /EHsc /nologo /W4 /MTd meow.cpp
> meow.cpp

I tried recreating the command line our build system uses and I can't replicate the behavior, but it always prints them in my environment. Perhaps the small file affects the behavior and after digesting large amounts of code, it might fail. I even tried including boost/filesystem/operations.hpp. So far, I can't reproduce the problem.

If I ever come up with a self-contained, repeatable demonstration of the problem, I'll pass it along. Since we're off topic, I'll not dwell on this further.

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

________________________________

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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk