[spirit] warnings for vc8 in trunk

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. Btw, do we have BOOST_WARNING( "foo" ) yet, or would it be an idea to add it? best regards -Thorsten

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
participants (2)
-
gchen
-
Thorsten Ottosen