forked from boostorg/config
Define BOOST_NO_CXX98_FUNCTION_BASE for gcc-12 in C++17 mode or later.
Fixes: https://github.com/boostorg/container_hash/issues/22.
This commit is contained in:
@@ -387,6 +387,15 @@ extern "C" char *gets (char *__s);
|
|||||||
#define BOOST_NO_CXX20_HDR_BIT
|
#define BOOST_NO_CXX20_HDR_BIT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if BOOST_LIBSTDCXX_VERSION >= 120000
|
||||||
|
//
|
||||||
|
// Unary function is now deprecated in C++17 and later:
|
||||||
|
//
|
||||||
|
#if __cplusplus >= 201703L
|
||||||
|
#define BOOST_NO_CXX98_FUNCTION_BASE
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef __cpp_impl_coroutine
|
#ifndef __cpp_impl_coroutine
|
||||||
# define BOOST_NO_CXX20_HDR_COROUTINE
|
# define BOOST_NO_CXX20_HDR_COROUTINE
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user