forked from boostorg/config
Merge branch 'develop'
This commit is contained in:
@ -86,26 +86,22 @@
|
|||||||
# define BOOST_SYMBOL_VISIBLE __global
|
# define BOOST_SYMBOL_VISIBLE __global
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if (__SUNPRO_CC < 0x5130)
|
||||||
|
// C++03 features in 12.4:
|
||||||
//
|
|
||||||
// Issues that effect all known versions:
|
|
||||||
//
|
|
||||||
#define BOOST_NO_TWO_PHASE_NAME_LOOKUP
|
#define BOOST_NO_TWO_PHASE_NAME_LOOKUP
|
||||||
|
#define BOOST_NO_SFINAE_EXPR
|
||||||
#define BOOST_NO_ADL_BARRIER
|
#define BOOST_NO_ADL_BARRIER
|
||||||
|
#define BOOST_NO_CXX11_VARIADIC_MACROS
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
#if (__SUNPRO_CC < 0x5130) || (__cplusplus < 201100)
|
||||||
// C++0x features
|
// C++11 only featuires in 12.4:
|
||||||
//
|
|
||||||
# define BOOST_HAS_LONG_LONG
|
|
||||||
|
|
||||||
#define BOOST_NO_CXX11_AUTO_DECLARATIONS
|
#define BOOST_NO_CXX11_AUTO_DECLARATIONS
|
||||||
#define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
|
#define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
|
||||||
#define BOOST_NO_CXX11_CHAR16_T
|
#define BOOST_NO_CXX11_CHAR16_T
|
||||||
#define BOOST_NO_CXX11_CHAR32_T
|
#define BOOST_NO_CXX11_CHAR32_T
|
||||||
#define BOOST_NO_CXX11_CONSTEXPR
|
#define BOOST_NO_CXX11_CONSTEXPR
|
||||||
#define BOOST_NO_CXX11_DECLTYPE
|
#define BOOST_NO_CXX11_DECLTYPE
|
||||||
#define BOOST_NO_CXX11_DECLTYPE_N3276
|
|
||||||
#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
|
#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
|
||||||
#define BOOST_NO_CXX11_DELETED_FUNCTIONS
|
#define BOOST_NO_CXX11_DELETED_FUNCTIONS
|
||||||
#define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
#define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
||||||
@ -120,19 +116,34 @@
|
|||||||
#define BOOST_NO_CXX11_RAW_LITERALS
|
#define BOOST_NO_CXX11_RAW_LITERALS
|
||||||
#define BOOST_NO_CXX11_RVALUE_REFERENCES
|
#define BOOST_NO_CXX11_RVALUE_REFERENCES
|
||||||
#define BOOST_NO_CXX11_SCOPED_ENUMS
|
#define BOOST_NO_CXX11_SCOPED_ENUMS
|
||||||
#define BOOST_NO_SFINAE_EXPR
|
|
||||||
#define BOOST_NO_CXX11_STATIC_ASSERT
|
#define BOOST_NO_CXX11_STATIC_ASSERT
|
||||||
#define BOOST_NO_CXX11_TEMPLATE_ALIASES
|
#define BOOST_NO_CXX11_TEMPLATE_ALIASES
|
||||||
#define BOOST_NO_CXX11_UNICODE_LITERALS
|
#define BOOST_NO_CXX11_UNICODE_LITERALS
|
||||||
#define BOOST_NO_CXX11_VARIADIC_TEMPLATES
|
|
||||||
#define BOOST_NO_CXX11_VARIADIC_MACROS
|
|
||||||
#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
|
|
||||||
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
|
|
||||||
#define BOOST_NO_CXX11_ALIGNAS
|
#define BOOST_NO_CXX11_ALIGNAS
|
||||||
#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
|
#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
|
||||||
#define BOOST_NO_CXX11_INLINE_NAMESPACES
|
#define BOOST_NO_CXX11_INLINE_NAMESPACES
|
||||||
#define BOOST_NO_CXX11_REF_QUALIFIERS
|
|
||||||
#define BOOST_NO_CXX11_FINAL
|
#define BOOST_NO_CXX11_FINAL
|
||||||
|
#endif
|
||||||
|
|
||||||
|
//
|
||||||
|
// Issues that effect all known versions:
|
||||||
|
//
|
||||||
|
// Variadic templates pass our test case, but enabling this
|
||||||
|
// causes the compiler to issue a signal 11 and bail out
|
||||||
|
// in various libraries. The others fail our test cases.
|
||||||
|
//
|
||||||
|
#define BOOST_NO_CXX11_VARIADIC_TEMPLATES
|
||||||
|
#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
|
||||||
|
#define BOOST_NO_CXX11_FIXED_LENGTH_VARIADIC_TEMPLATE_EXPANSION_PACKS
|
||||||
|
#define BOOST_NO_CXX11_DECLTYPE_N3276
|
||||||
|
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
|
||||||
|
#define BOOST_NO_CXX11_REF_QUALIFIERS
|
||||||
|
#define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
|
||||||
|
//
|
||||||
|
// C++0x features
|
||||||
|
//
|
||||||
|
# define BOOST_HAS_LONG_LONG
|
||||||
|
|
||||||
|
|
||||||
// C++ 14:
|
// C++ 14:
|
||||||
#if !defined(__cpp_aggregate_nsdmi) || (__cpp_aggregate_nsdmi < 201304)
|
#if !defined(__cpp_aggregate_nsdmi) || (__cpp_aggregate_nsdmi < 201304)
|
||||||
|
@ -23,6 +23,9 @@
|
|||||||
# undef BOOST_HAS_PTHREADS
|
# undef BOOST_HAS_PTHREADS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define BOOST_HAS_STDINT_H
|
||||||
|
#define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
||||||
|
#define BOOST_HAS_LOG1P
|
||||||
|
#define BOOST_HAS_EXPM1
|
||||||
|
|
||||||
|
|
||||||
|
@ -96,7 +96,7 @@
|
|||||||
#include <exception>
|
#include <exception>
|
||||||
#endif
|
#endif
|
||||||
#include <typeinfo>
|
#include <typeinfo>
|
||||||
#if ( (!_HAS_EXCEPTIONS && !defined(__ghs__)) || (!_HAS_NAMESPACE && defined(__ghs__)) ) && !defined(__TI_COMPILER_VERSION__)
|
#if ( (!_HAS_EXCEPTIONS && !defined(__ghs__)) || (!_HAS_NAMESPACE && defined(__ghs__)) ) && !defined(__TI_COMPILER_VERSION__) && !defined(__VISUALDSPVERSION__)
|
||||||
# define BOOST_NO_STD_TYPEINFO
|
# define BOOST_NO_STD_TYPEINFO
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -146,6 +146,14 @@
|
|||||||
//
|
//
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__SUNPRO_CC) && (__SUNPRO_CC >= 0x5130) && (__cplusplus >= 201103L)
|
||||||
|
//
|
||||||
|
// Oracle Solaris compiler uses it's own verison of libstdc++ but doesn't
|
||||||
|
// set __GNUC__
|
||||||
|
//
|
||||||
|
#define BOOST_LIBSTDCXX_VERSION 40800
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(BOOST_LIBSTDCXX_VERSION)
|
#if !defined(BOOST_LIBSTDCXX_VERSION)
|
||||||
# define BOOST_LIBSTDCXX_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
|
# define BOOST_LIBSTDCXX_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
|
||||||
#endif
|
#endif
|
||||||
@ -223,6 +231,14 @@
|
|||||||
# define BOOST_NO_CXX11_ATOMIC_SMART_PTR
|
# define BOOST_NO_CXX11_ATOMIC_SMART_PTR
|
||||||
# define BOOST_NO_CXX11_STD_ALIGN
|
# define BOOST_NO_CXX11_STD_ALIGN
|
||||||
|
|
||||||
|
//
|
||||||
|
// Headers not present on Solaris with the Oracle compiler:
|
||||||
|
#if defined(__SUNPRO_CC)
|
||||||
|
#define BOOST_NO_CXX11_HDR_FUTURE
|
||||||
|
#define BOOST_NO_CXX11_HDR_FORWARD_LIST
|
||||||
|
#define BOOST_NO_CXX11_HDR_ATOMIC
|
||||||
|
#endif
|
||||||
|
|
||||||
#if (!defined(_GLIBCXX_HAS_GTHREADS) || !defined(_GLIBCXX_USE_C99_STDINT_TR1))
|
#if (!defined(_GLIBCXX_HAS_GTHREADS) || !defined(_GLIBCXX_USE_C99_STDINT_TR1))
|
||||||
// Headers not always available:
|
// Headers not always available:
|
||||||
# ifndef BOOST_NO_CXX11_HDR_CONDITION_VARIABLE
|
# ifndef BOOST_NO_CXX11_HDR_CONDITION_VARIABLE
|
||||||
|
@ -140,7 +140,7 @@ namespace boost
|
|||||||
|
|
||||||
} // namespace boost
|
} // namespace boost
|
||||||
|
|
||||||
#elif defined(__FreeBSD__) && (__FreeBSD__ <= 4) || defined(__osf__) || defined(__VMS)
|
#elif defined(__FreeBSD__) && (__FreeBSD__ <= 4) || defined(__osf__) || defined(__VMS) || defined(__SOLARIS9__) || defined(__NetBSD__)
|
||||||
// FreeBSD and Tru64 have an <inttypes.h> that contains much of what we need.
|
// FreeBSD and Tru64 have an <inttypes.h> that contains much of what we need.
|
||||||
# include <inttypes.h>
|
# include <inttypes.h>
|
||||||
|
|
||||||
@ -374,7 +374,7 @@ namespace boost
|
|||||||
|| (defined(_XOPEN_UNIX) && (_XOPEN_UNIX+0 > 0) && !defined(__UCLIBC__)) \
|
|| (defined(_XOPEN_UNIX) && (_XOPEN_UNIX+0 > 0) && !defined(__UCLIBC__)) \
|
||||||
|| defined(__CYGWIN__) \
|
|| defined(__CYGWIN__) \
|
||||||
|| defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) \
|
|| defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) \
|
||||||
|| defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
|
|| defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(sun)
|
||||||
|
|
||||||
namespace boost {
|
namespace boost {
|
||||||
using ::intptr_t;
|
using ::intptr_t;
|
||||||
@ -492,7 +492,7 @@ INT#_C macros if they're not already defined (John Maddock).
|
|||||||
// 64-bit types + intmax_t and uintmax_t ----------------------------------//
|
// 64-bit types + intmax_t and uintmax_t ----------------------------------//
|
||||||
#ifndef INT64_C
|
#ifndef INT64_C
|
||||||
# if defined(BOOST_HAS_LONG_LONG) && \
|
# if defined(BOOST_HAS_LONG_LONG) && \
|
||||||
(defined(ULLONG_MAX) || defined(ULONG_LONG_MAX) || defined(ULONGLONG_MAX) || defined(_LLONG_MAX))
|
(defined(ULLONG_MAX) || defined(ULONG_LONG_MAX) || defined(ULONGLONG_MAX) || defined(_ULLONG_MAX) || defined(_LLONG_MAX))
|
||||||
|
|
||||||
# if defined(__hpux)
|
# if defined(__hpux)
|
||||||
// HP-UX's value of ULONG_LONG_MAX is unusable in preprocessor expressions
|
// HP-UX's value of ULONG_LONG_MAX is unusable in preprocessor expressions
|
||||||
@ -501,7 +501,8 @@ INT#_C macros if they're not already defined (John Maddock).
|
|||||||
# elif (defined(ULLONG_MAX) && ULLONG_MAX == 18446744073709551615ULL) || \
|
# elif (defined(ULLONG_MAX) && ULLONG_MAX == 18446744073709551615ULL) || \
|
||||||
(defined(ULONG_LONG_MAX) && ULONG_LONG_MAX == 18446744073709551615ULL) || \
|
(defined(ULONG_LONG_MAX) && ULONG_LONG_MAX == 18446744073709551615ULL) || \
|
||||||
(defined(ULONGLONG_MAX) && ULONGLONG_MAX == 18446744073709551615ULL) || \
|
(defined(ULONGLONG_MAX) && ULONGLONG_MAX == 18446744073709551615ULL) || \
|
||||||
(defined(_LLONG_MAX) && _LLONG_MAX == 18446744073709551615ULL)
|
(defined(_ULLONG_MAX) && _ULLONG_MAX == 18446744073709551615ULL) || \
|
||||||
|
(defined(_LLONG_MAX) && _LLONG_MAX == 9223372036854775807LL)
|
||||||
|
|
||||||
# define INT64_C(value) value##LL
|
# define INT64_C(value) value##LL
|
||||||
# define UINT64_C(value) value##uLL
|
# define UINT64_C(value) value##uLL
|
||||||
|
@ -10,10 +10,10 @@
|
|||||||
#define BOOST_VERSION_HPP
|
#define BOOST_VERSION_HPP
|
||||||
|
|
||||||
//
|
//
|
||||||
// Caution, this is the only boost header that is guarenteed
|
// Caution: this is the only Boost header that is guaranteed
|
||||||
// to change with every boost release, including this header
|
// to change with every Boost release. Including this header
|
||||||
// will cause a recompile every time a new boost version is
|
// will cause a recompile every time a new Boost version is
|
||||||
// released.
|
// used.
|
||||||
//
|
//
|
||||||
// BOOST_VERSION % 100 is the patch level
|
// BOOST_VERSION % 100 is the patch level
|
||||||
// BOOST_VERSION / 100 % 1000 is the minor version
|
// BOOST_VERSION / 100 % 1000 is the minor version
|
||||||
|
Reference in New Issue
Block a user