Boost logo

Boost :

Subject: Re: [boost] BOOST_PRAGMA_MESSAGE?
From: Peter Dimov (lists_at_[hidden])
Date: 2017-12-02 22:09:29


Edward Diener wrote:
> > Use:
> >
> > BOOST_PRAGMA_MESSAGE( "something" )
>
> Shouldn't this be:
>
> BOOST_PRAGMA_MESSAGE( something )

Maybe. Should it be?

#pragma message does take a quoted string:

    #pragma message( "something" )

as opposed to #warning, which doesn't:

    #warning something

Since the macro is called PRAGMA_MESSAGE, a quoted string seemed more
appropriate.


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