|
Boost : |
Subject: Re: [boost] BOOST_PRAGMA_MESSAGE?
From: Peter Dimov (lists_at_[hidden])
Date: 2017-12-03 18:40:59
Fletcher, John P wrote:
> Please note that the Clang compiler needs some attention here.
> For some reason Clang defines __GNUC__ as 4.2.1...
I know, the code relies on this, clang handles the __GNUC__ implementation
fine.
> My output is like this:
>
> pragma.cpp:23:1: warning: something at line 23 [-W#pragma-messages]
> BOOST_PRAGMA_MESSAGE( "something" )
> ^
That's what I get with the code as posted, too.
C:\Projects\testbed>clang++ testbed.cpp
testbed.cpp:12:1: warning: something [-W#pragma-messages]
BOOST_PRAGMA_MESSAGE( "something" )
^
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk