mirror of
https://github.com/boostorg/config.git
synced 2026-05-03 19:40:47 +02:00
Added BOOST_HAS_PRAGMA_DETECT_MISSMATCH macro
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
// Clang compiler setup.
|
||||
|
||||
#define BOOST_HAS_PRAGMA_ONCE
|
||||
#define BOOST_HAS_PRAGMA_DETECT_MISSMATCH
|
||||
|
||||
// When compiling with clang before __has_extension was defined,
|
||||
// even if one writes 'defined(__has_extension) && __has_extension(xxx)',
|
||||
|
||||
@@ -36,6 +36,9 @@
|
||||
|
||||
#define BOOST_HAS_PRAGMA_ONCE
|
||||
|
||||
// Will be undefined for old compilers lower in this file
|
||||
#define BOOST_HAS_PRAGMA_DETECT_MISSMATCH
|
||||
|
||||
//
|
||||
// versions check:
|
||||
// we don't support Visual C++ prior to version 7.1:
|
||||
@@ -59,6 +62,7 @@
|
||||
|
||||
#if _MSC_VER < 1500 // 140X == VC++ 8.0
|
||||
# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
||||
# undef BOOST_HAS_PRAGMA_DETECT_MISSMATCH
|
||||
#endif
|
||||
|
||||
#if _MSC_VER < 1600 // 150X == VC++ 9.0
|
||||
|
||||
Reference in New Issue
Block a user