forked from boostorg/config
Add file/line to BOOST_PRAGMA_MESSAGE on Intel C++
This commit is contained in:
@ -18,6 +18,8 @@
|
|||||||
|
|
||||||
#if defined(BOOST_DISABLE_PRAGMA_MESSAGE)
|
#if defined(BOOST_DISABLE_PRAGMA_MESSAGE)
|
||||||
# define BOOST_PRAGMA_MESSAGE(x)
|
# define BOOST_PRAGMA_MESSAGE(x)
|
||||||
|
#elif defined(__INTEL_COMPILER)
|
||||||
|
# define BOOST_PRAGMA_MESSAGE(x) __pragma(message(__FILE__ "(" BOOST_STRINGIZE(__LINE__) "): note: " x))
|
||||||
#elif defined(__GNUC__)
|
#elif defined(__GNUC__)
|
||||||
# define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
|
# define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
|
||||||
#elif defined(_MSC_VER)
|
#elif defined(_MSC_VER)
|
||||||
|
Reference in New Issue
Block a user