Add file/line to BOOST_PRAGMA_MESSAGE on Intel C++

This commit is contained in:
Peter Dimov
2018-01-19 05:01:39 +02:00
parent 24a2cc623d
commit 2ec8f0fc73

View File

@ -18,6 +18,8 @@
#if defined(BOOST_DISABLE_PRAGMA_MESSAGE)
# 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__)
# define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
#elif defined(_MSC_VER)