mirror of
https://github.com/boostorg/config.git
synced 2025-07-30 04:17:16 +02:00
Add error message when attempting to use a deprecated compiler.
This commit is contained in:
@ -943,5 +943,14 @@ namespace std{ using ::type_info; }
|
||||
#define BOOST_HAS_VARIADIC_TMPL
|
||||
#endif
|
||||
|
||||
//
|
||||
// Finish off with checks for macros that are depricated / no longer supported,
|
||||
// if any of these are set then it's very likely that much of Boost will no
|
||||
// longer work. So stop with a #error for now, but give the user a chance
|
||||
// to continue at their own risk if they really want to:
|
||||
//
|
||||
#if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined(BOOST_CONFIG_ALLOW_DEPRECATED)
|
||||
# error "You are using a compiler which lacks features which are now a minimum requirement in order to use Boost, define BOOST_CONFIG_ALLOW_DEPRECATED if you want to continue at your own risk!!!"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user