Subject: Re: [boost] BOOST_PRAGMA_MESSAGE?
From: Peter Dimov (lists_at_[hidden])
Date: 2017-12-04 14:42:42
Fletcher, John P wrote:
> My aim was to reduce the number of extra lines of output. Mine has 2
> extra lines against 3 for yours. The line starting <scratch space> seems
> to be a feature of the Clang implementation of _Pragma.
#define BOOST_PRAGMA_MESSAGE( x ) _Pragma(BOOST_STRINGIZE(message(x)))
then. This works for g++ too, no need to make it clang-specific.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk