mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-04 15:24:29 +02:00
Use BOOST_WORKAROUND when checking compiler level
This commit is contained in:
committed by
Jim King
parent
4634ef904e
commit
bd4ec497a8
@@ -184,7 +184,7 @@ template< typename P > struct assert_arg_pred_not
|
||||
typedef typename assert_arg_pred_impl<p>::type type;
|
||||
};
|
||||
|
||||
#if defined(BOOST_GCC_VERSION) && BOOST_GCC_VERSION >= 80000
|
||||
#if BOOST_WORKAROUND(BOOST_GCC_VERSION, >= 80000)
|
||||
#define BOOST_MPL_IGNORE_PARENTHESES_WARNING
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wparentheses"
|
||||
|
Reference in New Issue
Block a user