3 Dec
2017
3 Dec
'17
6:40 p.m.
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" ) ^