Boost logo

Boost :

From: gchen (chengang31_at_[hidden])
Date: 2008-04-21 06:03:08


Thorsten Ottosen wrote:
> Hi,
>
> I get al lot of these warnings:
>
> D:\boost\trunk\boost/spirit/core.hpp(13) : warning C4083: expected
> 'string'; found identifier 'warning' fromt this code:
>
> #if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__)
> # pragma message (warning "This header is deprecated. Please use:
> boost/spirit/include/core.hpp")
> #elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) ||
> defined(__IBMCPP__)
> # warning "This header is deprecated. Please use:
> boost/spirit/include/core.hpp"
> #endif
>
> The problem is due to the "warning" before the text. I don't know if
> removing this breaks some of the other compilers.
>

It looks like you are not using the latest code trunk. This has been fixed
a few days ago. Have a look of the code in trunk:

http://svn.boost.org/trac/boost/browser/trunk/boost/spirit/core.hpp


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