Boost logo

Boost :

Subject: Re: [boost] [spirit] New Header Structure [was Re: Proposal: Add Loki Library's SafeFormat to Boost:]
From: David Abrahams (dave_at_[hidden])
Date: 2009-01-04 03:50:09


on Sun Jan 04 2009, Joel de Guzman <joel-AT-boost-consulting.com> wrote:

> Robert Ramey wrote:
>> Well, it will take me some time to reconstruct what happened.
>> Briefly, from memory:
>>
>> a) I noticed that running the serialization tests most compilers
>> emitted a warning "....deprecated - ? redirectored or ?" I forget.
>
> Here's an example of PP code that does that:
>
> #if BOOST_VERSION >= 103800
> #if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__)
> # pragma message ("Warning: This header is deprecated. Please use:
> boost/spirit/include/classic_actor.hpp")
> #elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) ||
> defined(__IBMCPP__)
> # warning "This header is deprecated. Please use:
> boost/spirit/include/classic_actor.hpp"
> #endif
> #endif
>
> So, I do not understand how you got that warning

Me neither. I thought at first that PGI might be #defining _MSC_VER as
some others do, but http://www.pgroup.com/userforum/viewtopic.php?t=831
seems to belie that notion.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk