Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nads-boost
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
NADS-Public
nads-boost
Commits
1eb193b5
Commit
1eb193b5
authored
Jul 19, 2019
by
IOWA\dheitbri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved to boost 1.7.0
parent
b975ab0b
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
142 additions
and
40 deletions
+142
-40
auto_link.hpp
boost/config/auto_link.hpp
+16
-3
borland.hpp
boost/config/compiler/borland.hpp
+5
-2
clang.hpp
boost/config/compiler/clang.hpp
+13
-1
codegear.hpp
boost/config/compiler/codegear.hpp
+6
-2
comeau.hpp
boost/config/compiler/comeau.hpp
+1
-1
common_edg.hpp
boost/config/compiler/common_edg.hpp
+4
-0
cray.hpp
boost/config/compiler/cray.hpp
+0
-0
digitalmars.hpp
boost/config/compiler/digitalmars.hpp
+4
-1
gcc.hpp
boost/config/compiler/gcc.hpp
+9
-4
gcc_xml.hpp
boost/config/compiler/gcc_xml.hpp
+3
-0
greenhills.hpp
boost/config/compiler/greenhills.hpp
+1
-1
hp_acc.hpp
boost/config/compiler/hp_acc.hpp
+1
-1
intel.hpp
boost/config/compiler/intel.hpp
+6
-1
kai.hpp
boost/config/compiler/kai.hpp
+1
-1
metrowerks.hpp
boost/config/compiler/metrowerks.hpp
+4
-1
mpw.hpp
boost/config/compiler/mpw.hpp
+4
-1
nvcc.hpp
boost/config/compiler/nvcc.hpp
+3
-3
pathscale.hpp
boost/config/compiler/pathscale.hpp
+3
-0
sunpro_cc.hpp
boost/config/compiler/sunpro_cc.hpp
+3
-0
vacpp.hpp
boost/config/compiler/vacpp.hpp
+4
-1
visualc.hpp
boost/config/compiler/visualc.hpp
+9
-4
xlcpp.hpp
boost/config/compiler/xlcpp.hpp
+4
-0
xlcpp_zos.hpp
boost/config/compiler/xlcpp_zos.hpp
+1
-0
select_compiler_config.hpp
boost/config/detail/select_compiler_config.hpp
+1
-2
suffix.hpp
boost/config/detail/suffix.hpp
+13
-0
cygwin.hpp
boost/config/platform/cygwin.hpp
+3
-0
dinkumware.hpp
boost/config/stdlib/dinkumware.hpp
+2
-2
libcpp.hpp
boost/config/stdlib/libcpp.hpp
+14
-4
libstdcpp3.hpp
boost/config/stdlib/libstdcpp3.hpp
+4
-4
No files found.
boost/config/auto_link.hpp
View file @
1eb193b5
...
@@ -28,6 +28,9 @@ BOOST_AUTO_LINK_NOMANGLE: Specifies that we should link to BOOST_LIB_NAME.lib,
...
@@ -28,6 +28,9 @@ BOOST_AUTO_LINK_NOMANGLE: Specifies that we should link to BOOST_LIB_NAME.lib,
BOOST_AUTO_LINK_TAGGED: Specifies that we link to libraries built with the --layout=tagged option.
BOOST_AUTO_LINK_TAGGED: Specifies that we link to libraries built with the --layout=tagged option.
This is essentially the same as the default name-mangled version, but without
This is essentially the same as the default name-mangled version, but without
the compiler name and version, or the Boost version. Just the build options.
the compiler name and version, or the Boost version. Just the build options.
BOOST_AUTO_LINK_SYSTEM: Specifies that we link to libraries built with the --layout=system option.
This is essentially the same as the non-name-mangled version, but with
the prefix to differentiate static and dll builds
These macros will be undef'ed at the end of the header, further this header
These macros will be undef'ed at the end of the header, further this header
has no include guards - so be sure to include it only once from your library!
has no include guards - so be sure to include it only once from your library!
...
@@ -170,11 +173,16 @@ BOOST_LIB_VERSION: The Boost version, in the form x_y, for Boost version x.y.
...
@@ -170,11 +173,16 @@ BOOST_LIB_VERSION: The Boost version, in the form x_y, for Boost version x.y.
// vc14:
// vc14:
# define BOOST_LIB_TOOLSET "vc140"
# define BOOST_LIB_TOOLSET "vc140"
# elif defined(BOOST_MSVC)
# elif defined(BOOST_MSVC)
&& (BOOST_MSVC < 1920)
// vc14.1:
// vc14.1:
# define BOOST_LIB_TOOLSET "vc141"
# define BOOST_LIB_TOOLSET "vc141"
# elif defined(BOOST_MSVC)
// vc14.2:
# define BOOST_LIB_TOOLSET "vc142"
# elif defined(__BORLANDC__)
# elif defined(__BORLANDC__)
// CBuilder 6:
// CBuilder 6:
...
@@ -402,9 +410,14 @@ BOOST_LIB_VERSION: The Boost version, in the form x_y, for Boost version x.y.
...
@@ -402,9 +410,14 @@ BOOST_LIB_VERSION: The Boost version, in the form x_y, for Boost version x.y.
&&
defined
(
BOOST_LIB_VERSION
)
&&
defined
(
BOOST_LIB_VERSION
)
#ifdef BOOST_AUTO_LINK_TAGGED
#ifdef BOOST_AUTO_LINK_TAGGED
# pragma comment(lib, BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT ".lib")
# pragma comment(lib, BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT BOOST_LIB_ARCH_AND_MODEL_OPT ".lib")
# ifdef BOOST_LIB_DIAGNOSTIC
# pragma message ("Linking to lib file: " BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT BOOST_LIB_ARCH_AND_MODEL_OPT ".lib")
# endif
#elif defined(BOOST_AUTO_LINK_SYSTEM)
# pragma comment(lib, BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) ".lib")
# ifdef BOOST_LIB_DIAGNOSTIC
# ifdef BOOST_LIB_DIAGNOSTIC
# pragma message ("Linking to lib file: " BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME)
BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT
".lib")
# pragma message ("Linking to lib file: " BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) ".lib")
# endif
# endif
#elif defined(BOOST_AUTO_LINK_NOMANGLE)
#elif defined(BOOST_AUTO_LINK_NOMANGLE)
# pragma comment(lib, BOOST_STRINGIZE(BOOST_LIB_NAME) ".lib")
# pragma comment(lib, BOOST_STRINGIZE(BOOST_LIB_NAME) ".lib")
...
...
boost/config/compiler/borland.hpp
View file @
1eb193b5
...
@@ -19,9 +19,9 @@
...
@@ -19,9 +19,9 @@
// last known compiler version:
// last known compiler version:
#if (__BORLANDC__ > 0x613)
#if (__BORLANDC__ > 0x613)
//# if defined(BOOST_ASSERT_CONFIG)
//# if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results"
# error "
boost:
Unknown compiler version - please run the configure tests and report the results"
//# else
//# else
//# pragma message( "Unknown compiler version - please run the configure tests and report the results")
//# pragma message( "
boost:
Unknown compiler version - please run the configure tests and report the results")
//# endif
//# endif
#elif (__BORLANDC__ == 0x600)
#elif (__BORLANDC__ == 0x600)
# error "CBuilderX preview compiler is no longer supported"
# error "CBuilderX preview compiler is no longer supported"
...
@@ -239,6 +239,9 @@
...
@@ -239,6 +239,9 @@
#if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603)
#if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603)
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
#endif
#endif
#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif
#if __BORLANDC__ >= 0x590
#if __BORLANDC__ >= 0x590
# define BOOST_HAS_TR1_HASH
# define BOOST_HAS_TR1_HASH
...
...
boost/config/compiler/clang.hpp
View file @
1eb193b5
...
@@ -57,6 +57,14 @@
...
@@ -57,6 +57,14 @@
# define BOOST_HAS_STDINT_H
# define BOOST_HAS_STDINT_H
#endif
#endif
#if (defined(linux) || defined(__linux) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)) && !defined(_CRAYC)
#if (__clang_major__ >= 4) && defined(__has_include)
#if __has_include(<quadmath.h>)
# define BOOST_HAS_FLOAT128
#endif
#endif
#endif
#define BOOST_HAS_NRVO
#define BOOST_HAS_NRVO
...
@@ -104,9 +112,9 @@
...
@@ -104,9 +112,9 @@
# define BOOST_SYMBOL_IMPORT __attribute__((__dllimport__))
# define BOOST_SYMBOL_IMPORT __attribute__((__dllimport__))
#else
#else
# define BOOST_SYMBOL_EXPORT __attribute__((__visibility__("default")))
# define BOOST_SYMBOL_EXPORT __attribute__((__visibility__("default")))
# define BOOST_SYMBOL_VISIBLE __attribute__((__visibility__("default")))
# define BOOST_SYMBOL_IMPORT
# define BOOST_SYMBOL_IMPORT
#endif
#endif
#define BOOST_SYMBOL_VISIBLE __attribute__((__visibility__("default")))
//
//
// The BOOST_FALLTHROUGH macro can be used to annotate implicit fall-through
// The BOOST_FALLTHROUGH macro can be used to annotate implicit fall-through
...
@@ -294,6 +302,10 @@
...
@@ -294,6 +302,10 @@
# define BOOST_NO_CXX17_STRUCTURED_BINDINGS
# define BOOST_NO_CXX17_STRUCTURED_BINDINGS
#endif
#endif
#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif
// Clang 3.9+ in c++1z
// Clang 3.9+ in c++1z
#if !__has_cpp_attribute(fallthrough) || __cplusplus < 201406L
#if !__has_cpp_attribute(fallthrough) || __cplusplus < 201406L
# define BOOST_NO_CXX17_INLINE_VARIABLES
# define BOOST_NO_CXX17_INLINE_VARIABLES
...
...
boost/config/compiler/codegear.hpp
View file @
1eb193b5
...
@@ -22,9 +22,9 @@
...
@@ -22,9 +22,9 @@
// last known and checked version is 0x621
// last known and checked version is 0x621
#if (__CODEGEARC__ > 0x621)
#if (__CODEGEARC__ > 0x621)
# if defined(BOOST_ASSERT_CONFIG)
# if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results"
# error "
boost:
Unknown compiler version - please run the configure tests and report the results"
# else
# else
# pragma message( "Unknown compiler version - please run the configure tests and report the results")
# pragma message( "
boost:
Unknown compiler version - please run the configure tests and report the results")
# endif
# endif
#endif
#endif
...
@@ -167,6 +167,10 @@
...
@@ -167,6 +167,10 @@
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
#endif
#endif
#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif
//
//
// TR1 macros:
// TR1 macros:
//
//
...
...
boost/config/compiler/comeau.hpp
View file @
1eb193b5
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
// last known and checked version is 4245:
// last known and checked version is 4245:
#if (__COMO_VERSION__ > 4245)
#if (__COMO_VERSION__ > 4245)
# if defined(BOOST_ASSERT_CONFIG)
# if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results"
# error "
boost:
Unknown compiler version - please run the configure tests and report the results"
# endif
# endif
#endif
#endif
...
...
boost/config/compiler/common_edg.hpp
View file @
1eb193b5
...
@@ -149,6 +149,10 @@
...
@@ -149,6 +149,10 @@
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
#endif
#endif
#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif
#ifdef c_plusplus
#ifdef c_plusplus
// EDG has "long long" in non-strict mode
// EDG has "long long" in non-strict mode
// However, some libraries have insufficient "long long" support
// However, some libraries have insufficient "long long" support
...
...
boost/config/compiler/cray.hpp
View file @
1eb193b5
This diff is collapsed.
Click to expand it.
boost/config/compiler/digitalmars.hpp
View file @
1eb193b5
...
@@ -124,6 +124,9 @@
...
@@ -124,6 +124,9 @@
#if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603)
#if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603)
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
#endif
#endif
#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif
#if (__DMC__ <= 0x840)
#if (__DMC__ <= 0x840)
#error "Compiler not supported or configured - please reconfigure"
#error "Compiler not supported or configured - please reconfigure"
...
@@ -132,6 +135,6 @@
...
@@ -132,6 +135,6 @@
// last known and checked version is ...:
// last known and checked version is ...:
#if (__DMC__ > 0x848)
#if (__DMC__ > 0x848)
# if defined(BOOST_ASSERT_CONFIG)
# if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results"
# error "
boost:
Unknown compiler version - please run the configure tests and report the results"
# endif
# endif
#endif
#endif
boost/config/compiler/gcc.hpp
View file @
1eb193b5
...
@@ -232,7 +232,6 @@
...
@@ -232,7 +232,6 @@
// C++0x features in 4.6.n and later
// C++0x features in 4.6.n and later
//
//
#if (BOOST_GCC_VERSION < 40600) || !defined(BOOST_GCC_CXX11)
#if (BOOST_GCC_VERSION < 40600) || !defined(BOOST_GCC_CXX11)
#define BOOST_NO_CXX11_CONSTEXPR
#define BOOST_NO_CXX11_DEFAULTED_MOVES
#define BOOST_NO_CXX11_DEFAULTED_MOVES
#define BOOST_NO_CXX11_NOEXCEPT
#define BOOST_NO_CXX11_NOEXCEPT
#define BOOST_NO_CXX11_NULLPTR
#define BOOST_NO_CXX11_NULLPTR
...
@@ -243,6 +242,9 @@
...
@@ -243,6 +242,9 @@
// C++0x features in 4.7.n and later
// C++0x features in 4.7.n and later
//
//
#if (BOOST_GCC_VERSION < 40700) || !defined(BOOST_GCC_CXX11)
#if (BOOST_GCC_VERSION < 40700) || !defined(BOOST_GCC_CXX11)
// Note that while constexpr is partly supported in gcc-4.6 it's a
// pre-std version with several bugs:
# define BOOST_NO_CXX11_CONSTEXPR
# define BOOST_NO_CXX11_FINAL
# define BOOST_NO_CXX11_FINAL
# define BOOST_NO_CXX11_TEMPLATE_ALIASES
# define BOOST_NO_CXX11_TEMPLATE_ALIASES
# define BOOST_NO_CXX11_USER_DEFINED_LITERALS
# define BOOST_NO_CXX11_USER_DEFINED_LITERALS
...
@@ -299,6 +301,9 @@
...
@@ -299,6 +301,9 @@
#if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603)
#if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603)
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
#endif
#endif
#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif
#if __GNUC__ >= 7
#if __GNUC__ >= 7
# define BOOST_FALLTHROUGH __attribute__((fallthrough))
# define BOOST_FALLTHROUGH __attribute__((fallthrough))
...
@@ -343,14 +348,14 @@
...
@@ -343,14 +348,14 @@
# error "Compiler not configured - please reconfigure"
# error "Compiler not configured - please reconfigure"
#endif
#endif
//
//
// last known and checked version is
7
.1:
// last known and checked version is
8
.1:
#if (BOOST_GCC_VERSION >
7
0100)
#if (BOOST_GCC_VERSION >
8
0100)
# if defined(BOOST_ASSERT_CONFIG)
# if defined(BOOST_ASSERT_CONFIG)
# error "Boost.Config is older than your compiler - please check for an updated Boost release."
# error "Boost.Config is older than your compiler - please check for an updated Boost release."
# else
# else
// we don't emit warnings here anymore since there are no defect macros defined for
// we don't emit warnings here anymore since there are no defect macros defined for
// gcc post 3.4, so any failures are gcc regressions...
// gcc post 3.4, so any failures are gcc regressions...
//# warning "Unknown compiler version - please run the configure tests and report the results"
//# warning "
boost:
Unknown compiler version - please run the configure tests and report the results"
# endif
# endif
#endif
#endif
boost/config/compiler/gcc_xml.hpp
View file @
1eb193b5
...
@@ -102,6 +102,9 @@
...
@@ -102,6 +102,9 @@
#if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603)
#if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603)
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
#endif
#endif
#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif
#define BOOST_COMPILER "GCC-XML C++ version " __GCCXML__
#define BOOST_COMPILER "GCC-XML C++ version " __GCCXML__
...
...
boost/config/compiler/greenhills.hpp
View file @
1eb193b5
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
// last known and checked version is 0:
// last known and checked version is 0:
#if (__ghs > 0)
#if (__ghs > 0)
# if defined(BOOST_ASSERT_CONFIG)
# if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results"
# error "
boost:
Unknown compiler version - please run the configure tests and report the results"
# endif
# endif
#endif
#endif
...
...
boost/config/compiler/hp_acc.hpp
View file @
1eb193b5
...
@@ -142,6 +142,6 @@
...
@@ -142,6 +142,6 @@
// last known and checked version for PA-RISC is 38000
// last known and checked version for PA-RISC is 38000
#if ((__HP_aCC > 61300) || ((__HP_aCC > 38000) && defined(__hpxstd98)))
#if ((__HP_aCC > 61300) || ((__HP_aCC > 38000) && defined(__hpxstd98)))
# if defined(BOOST_ASSERT_CONFIG)
# if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results"
# error "
boost:
Unknown compiler version - please run the configure tests and report the results"
# endif
# endif
#endif
#endif
boost/config/compiler/intel.hpp
View file @
1eb193b5
...
@@ -46,12 +46,17 @@
...
@@ -46,12 +46,17 @@
#undef BOOST_GCC_VERSION
#undef BOOST_GCC_VERSION
#undef BOOST_GCC_CXX11
#undef BOOST_GCC_CXX11
#undef BOOST_GCC
#undef BOOST_GCC
#undef BOOST_FALLTHROUGH
// Broken in all versions up to 17 (newer versions not tested)
// Broken in all versions up to 17 (newer versions not tested)
#if (__INTEL_COMPILER <= 1700) && !defined(BOOST_NO_CXX14_CONSTEXPR)
#if (__INTEL_COMPILER <= 1700) && !defined(BOOST_NO_CXX14_CONSTEXPR)
# define BOOST_NO_CXX14_CONSTEXPR
# define BOOST_NO_CXX14_CONSTEXPR
#endif
#endif
#if (__INTEL_COMPILER >= 1800) && (__cplusplus >= 201703)
# define BOOST_FALLTHROUGH [[fallthrough]]
#endif
#endif // defined(_MSC_VER)
#endif // defined(_MSC_VER)
#undef BOOST_COMPILER
#undef BOOST_COMPILER
...
@@ -558,7 +563,7 @@ template<> struct assert_intrinsic_wchar_t<unsigned short> {};
...
@@ -558,7 +563,7 @@ template<> struct assert_intrinsic_wchar_t<unsigned short> {};
// We don't emit this warning any more, since we have so few
// We don't emit this warning any more, since we have so few
// defect macros set anyway (just the one).
// defect macros set anyway (just the one).
//
//
//# pragma message("Unknown compiler version - please run the configure tests and report the results")
//# pragma message("
boost:
Unknown compiler version - please run the configure tests and report the results")
# endif
# endif
#endif
#endif
boost/config/compiler/kai.hpp
View file @
1eb193b5
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
// last known and checked version is 4001:
// last known and checked version is 4001:
#if (__KCC_VERSION > 4001)
#if (__KCC_VERSION > 4001)
# if defined(BOOST_ASSERT_CONFIG)
# if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results"
# error "
boost:
Unknown compiler version - please run the configure tests and report the results"
# endif
# endif
#endif
#endif
...
...
boost/config/compiler/metrowerks.hpp
View file @
1eb193b5
...
@@ -167,6 +167,9 @@
...
@@ -167,6 +167,9 @@
#if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603)
#if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603)
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
#endif
#endif
#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif
#define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION)
#define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION)
...
@@ -180,7 +183,7 @@
...
@@ -180,7 +183,7 @@
// last known and checked version:
// last known and checked version:
#if (__MWERKS__ > 0x3205)
#if (__MWERKS__ > 0x3205)
# if defined(BOOST_ASSERT_CONFIG)
# if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results"
# error "
boost:
Unknown compiler version - please run the configure tests and report the results"
# endif
# endif
#endif
#endif
...
...
boost/config/compiler/mpw.hpp
View file @
1eb193b5
...
@@ -116,6 +116,9 @@
...
@@ -116,6 +116,9 @@
#if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603)
#if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603)
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
#endif
#endif
#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif
//
//
// versions check:
// versions check:
...
@@ -127,7 +130,7 @@
...
@@ -127,7 +130,7 @@
// last known and checked version is 0x890:
// last known and checked version is 0x890:
#if (MPW_CPLUS > 0x890)
#if (MPW_CPLUS > 0x890)
# if defined(BOOST_ASSERT_CONFIG)
# if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results"
# error "
boost:
Unknown compiler version - please run the configure tests and report the results"
# endif
# endif
#endif
#endif
...
...
boost/config/compiler/nvcc.hpp
View file @
1eb193b5
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
#endif
#endif
#if defined(__CUDACC_VER_MAJOR__) && defined(__CUDACC_VER_MINOR__) && defined(__CUDACC_VER_BUILD__)
#if defined(__CUDACC_VER_MAJOR__) && defined(__CUDACC_VER_MINOR__) && defined(__CUDACC_VER_BUILD__)
# define BOOST_CUDA_VERSION
__CUDACC_VER_MAJOR__ * 1000000 + __CUDACC_VER_MINOR__ * 10000 + __CUDACC_VER_BUILD__
# define BOOST_CUDA_VERSION
(__CUDACC_VER_MAJOR__ * 1000000 + __CUDACC_VER_MINOR__ * 10000 + __CUDACC_VER_BUILD__)
#else
#else
// We don't really know what the CUDA version is, but it's definitely before 7.5:
// We don't really know what the CUDA version is, but it's definitely before 7.5:
# define BOOST_CUDA_VERSION 7000000
# define BOOST_CUDA_VERSION 7000000
...
@@ -33,8 +33,8 @@
...
@@ -33,8 +33,8 @@
#if (BOOST_CUDA_VERSION > 8000000) && (BOOST_CUDA_VERSION < 8010000)
#if (BOOST_CUDA_VERSION > 8000000) && (BOOST_CUDA_VERSION < 8010000)
# define BOOST_NO_CXX11_VARIADIC_TEMPLATES
# define BOOST_NO_CXX11_VARIADIC_TEMPLATES
#endif
#endif
//
Most recent
CUDA (8.0) has no constexpr support in msvc mode:
// CUDA (8.0) has no constexpr support in msvc mode:
#if defined(_MSC_VER)
#if defined(_MSC_VER)
&& (BOOST_CUDA_VERSION < 9000000)
# define BOOST_NO_CXX11_CONSTEXPR
# define BOOST_NO_CXX11_CONSTEXPR
#endif
#endif
...
...
boost/config/compiler/pathscale.hpp
View file @
1eb193b5
...
@@ -129,4 +129,7 @@
...
@@ -129,4 +129,7 @@
#if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603)
#if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603)
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
#endif
#endif
#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif
#endif
#endif
boost/config/compiler/sunpro_cc.hpp
View file @
1eb193b5
...
@@ -182,6 +182,9 @@
...
@@ -182,6 +182,9 @@
#if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603)
#if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603)
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
#endif
#endif
#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif
// Turn on threading support for Solaris 12.
// Turn on threading support for Solaris 12.
// Ticket #11972
// Ticket #11972
...
...
boost/config/compiler/vacpp.hpp
View file @
1eb193b5
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
// last known and checked version is 1210:
// last known and checked version is 1210:
#if (__IBMCPP__ > 1210)
#if (__IBMCPP__ > 1210)
# if defined(BOOST_ASSERT_CONFIG)
# if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results"
# error "
boost:
Unknown compiler version - please run the configure tests and report the results"
# endif
# endif
#endif
#endif
...
@@ -178,3 +178,6 @@
...
@@ -178,3 +178,6 @@
#if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603)
#if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603)
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
#endif
#endif
#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif
boost/config/compiler/visualc.hpp
View file @
1eb193b5
...
@@ -201,6 +201,9 @@
...
@@ -201,6 +201,9 @@
//
//
#if (_MSC_VER < 1911) || (_MSVC_LANG < 201703)
#if (_MSC_VER < 1911) || (_MSVC_LANG < 201703)
# define BOOST_NO_CXX17_STRUCTURED_BINDINGS
# define BOOST_NO_CXX17_STRUCTURED_BINDINGS
# define BOOST_NO_CXX17_IF_CONSTEXPR
# define BOOST_NO_CXX17_HDR_OPTIONAL
# define BOOST_NO_CXX17_HDR_STRING_VIEW
#endif
#endif
// MSVC including version 14 has not yet completely
// MSVC including version 14 has not yet completely
...
@@ -233,9 +236,11 @@
...
@@ -233,9 +236,11 @@
// Supported from msvc-15.5 onwards:
// Supported from msvc-15.5 onwards:
#define BOOST_NO_CXX11_SFINAE_EXPR
#define BOOST_NO_CXX11_SFINAE_EXPR
#endif
#endif
#if (_MSC_VER < 1915) || (_MSVC_LANG < 201402)
// C++ 14:
// C++ 14:
// Still gives internal compiler error for msvc-15.5:
// Still gives internal compiler error for msvc-15.5:
# define BOOST_NO_CXX14_CONSTEXPR
# define BOOST_NO_CXX14_CONSTEXPR
#endif
// C++ 17:
// C++ 17:
#if (_MSC_VER < 1912) || (_MSVC_LANG < 201703)
#if (_MSC_VER < 1912) || (_MSVC_LANG < 201703)
#define BOOST_NO_CXX17_INLINE_VARIABLES
#define BOOST_NO_CXX17_INLINE_VARIABLES
...
@@ -283,9 +288,9 @@
...
@@ -283,9 +288,9 @@
# if _MSC_VER < 1400
# if _MSC_VER < 1400
// Note: I'm not aware of any CE compiler with version 13xx
// Note: I'm not aware of any CE compiler with version 13xx
# if defined(BOOST_ASSERT_CONFIG)
# if defined(BOOST_ASSERT_CONFIG)
# error "Unknown EVC++ compiler version - please run the configure tests and report the results"
# error "
boost:
Unknown EVC++ compiler version - please run the configure tests and report the results"
# else
# else
# pragma message("Unknown EVC++ compiler version - please run the configure tests and report the results")
# pragma message("
boost:
Unknown EVC++ compiler version - please run the configure tests and report the results")
# endif
# endif
# elif _MSC_VER < 1500
# elif _MSC_VER < 1500
# define BOOST_COMPILER_VERSION evc8
# define BOOST_COMPILER_VERSION evc8
...
@@ -301,9 +306,9 @@
...
@@ -301,9 +306,9 @@
# define BOOST_COMPILER_VERSION evc14
# define BOOST_COMPILER_VERSION evc14
# else
# else
# if defined(BOOST_ASSERT_CONFIG)
# if defined(BOOST_ASSERT_CONFIG)
# error "Unknown EVC++ compiler version - please run the configure tests and report the results"
# error "
boost:
Unknown EVC++ compiler version - please run the configure tests and report the results"
# else
# else
# pragma message("Unknown EVC++ compiler version - please run the configure tests and report the results")
# pragma message("
boost:
Unknown EVC++ compiler version - please run the configure tests and report the results")
# endif
# endif
# endif
# endif
# else
# else
...
...
boost/config/compiler/xlcpp.hpp
View file @
1eb193b5
...
@@ -246,6 +246,10 @@
...
@@ -246,6 +246,10 @@
# define BOOST_NO_CXX17_STRUCTURED_BINDINGS
# define BOOST_NO_CXX17_STRUCTURED_BINDINGS
#endif
#endif
#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif
// Clang 3.9+ in c++1z
// Clang 3.9+ in c++1z
#if !__has_cpp_attribute(fallthrough) || __cplusplus < 201406L
#if !__has_cpp_attribute(fallthrough) || __cplusplus < 201406L
# define BOOST_NO_CXX17_INLINE_VARIABLES
# define BOOST_NO_CXX17_INLINE_VARIABLES
...
...
boost/config/compiler/xlcpp_zos.hpp
View file @
1eb193b5
...
@@ -153,6 +153,7 @@
...
@@ -153,6 +153,7 @@
#define BOOST_NO_CXX17_STRUCTURED_BINDINGS
#define BOOST_NO_CXX17_STRUCTURED_BINDINGS
#define BOOST_NO_CXX17_INLINE_VARIABLES
#define BOOST_NO_CXX17_INLINE_VARIABLES
#define BOOST_NO_CXX17_FOLD_EXPRESSIONS
#define BOOST_NO_CXX17_FOLD_EXPRESSIONS
#define BOOST_NO_CXX17_IF_CONSTEXPR
// -------------------------------------
// -------------------------------------
...
...
boost/config/detail/select_compiler_config.hpp
View file @
1eb193b5
...
@@ -39,8 +39,7 @@
...
@@ -39,8 +39,7 @@
// Intel
// Intel
# define BOOST_COMPILER_CONFIG "boost/config/compiler/intel.hpp"
# define BOOST_COMPILER_CONFIG "boost/config/compiler/intel.hpp"
#elif defined __clang__ && !defined(__CUDACC__) && !defined(__ibmxl__)
#elif defined __clang__ && !defined(__ibmxl__)
// when using clang and cuda at same time, you want to appear as gcc
// Clang C++ emulates GCC, so it has to appear early.
// Clang C++ emulates GCC, so it has to appear early.
# define BOOST_COMPILER_CONFIG "boost/config/compiler/clang.hpp"
# define BOOST_COMPILER_CONFIG "boost/config/compiler/clang.hpp"
...
...
boost/config/detail/suffix.hpp
View file @
1eb193b5
...
@@ -1023,6 +1023,19 @@ namespace std{ using ::type_info; }
...
@@ -1023,6 +1023,19 @@ namespace std{ using ::type_info; }
# define BOOST_NO_CXX11_FIXED_LENGTH_VARIADIC_TEMPLATE_EXPANSION_PACKS
# define BOOST_NO_CXX11_FIXED_LENGTH_VARIADIC_TEMPLATE_EXPANSION_PACKS
#endif
#endif
// This is a catch all case for obsolete compilers / std libs:
#if !defined(__has_include)
# define BOOST_NO_CXX17_HDR_OPTIONAL
# define BOOST_NO_CXX17_HDR_STRING_VIEW
#else
#if !__has_include(<optional>)
# define BOOST_NO_CXX17_HDR_OPTIONAL
#endif
#if !__has_include(<string_view>)
# define BOOST_NO_CXX17_HDR_STRING_VIEW
#endif
#endif
//
//
// Finish off with checks for macros that are depricated / no longer supported,
// 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
// if any of these are set then it's very likely that much of Boost will no
...
...
boost/config/platform/cygwin.hpp
View file @
1eb193b5
...
@@ -42,8 +42,11 @@
...
@@ -42,8 +42,11 @@
# define BOOST_HAS_STDINT_H
# define BOOST_HAS_STDINT_H
#endif
#endif
#include <cygwin/version.h>
#if (CYGWIN_VERSION_API_MAJOR == 0 && CYGWIN_VERSION_API_MINOR < 231)
/// Cygwin has no fenv.h
/// Cygwin has no fenv.h
#define BOOST_NO_FENV_H
#define BOOST_NO_FENV_H
#endif
// Cygwin has it's own <pthread.h> which breaks <shared_mutex> unless the correct compiler flags are used:
// Cygwin has it's own <pthread.h> which breaks <shared_mutex> unless the correct compiler flags are used:
#ifndef BOOST_NO_CXX14_HDR_SHARED_MUTEX
#ifndef BOOST_NO_CXX14_HDR_SHARED_MUTEX
...
...
boost/config/stdlib/dinkumware.hpp
View file @
1eb193b5
...
@@ -96,7 +96,7 @@
...
@@ -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__) && !defined(__VISUALDSPVERSION__) \
#if ( (!_HAS_EXCEPTIONS && !defined(__ghs__)) || (
defined(__ghs__) && !_HAS_NAMESPACE
) ) && !defined(__TI_COMPILER_VERSION__) && !defined(__VISUALDSPVERSION__) \
&&
!
defined
(
__VXWORKS__
)
&&
!
defined
(
__VXWORKS__
)
# define BOOST_NO_STD_TYPEINFO
# define BOOST_NO_STD_TYPEINFO
#endif
#endif
...
@@ -175,7 +175,7 @@
...
@@ -175,7 +175,7 @@
# define BOOST_NO_CXX17_STD_APPLY
# define BOOST_NO_CXX17_STD_APPLY
# define BOOST_NO_CXX17_ITERATOR_TRAITS
# define BOOST_NO_CXX17_ITERATOR_TRAITS
#endif
#endif
#if !defined(_CPPLIB_VER) || (_CPPLIB_VER < 650)
#if !defined(_CPPLIB_VER) || (_CPPLIB_VER < 650)
|| !defined(_HAS_CXX17) || (_HAS_CXX17 == 0) || !defined(_MSVC_STL_UPDATE) || (_MSVC_STL_UPDATE < 201709)
# define BOOST_NO_CXX17_STD_INVOKE
# define BOOST_NO_CXX17_STD_INVOKE
#endif
#endif
...
...
boost/config/stdlib/libcpp.hpp
View file @
1eb193b5
...
@@ -87,11 +87,10 @@
...
@@ -87,11 +87,10 @@
#endif
#endif
// C++17 features
// C++17 features
#if (_LIBCPP_VERSION < 3700) || (__cplusplus <= 201402L)
# define BOOST_NO_CXX17_STD_INVOKE
#endif
#if (_LIBCPP_VERSION < 4000) || (__cplusplus <= 201402L)
#if (_LIBCPP_VERSION < 4000) || (__cplusplus <= 201402L)
# define BOOST_NO_CXX17_STD_APPLY
# define BOOST_NO_CXX17_STD_APPLY
# define BOOST_NO_CXX17_HDR_OPTIONAL
# define BOOST_NO_CXX17_HDR_STRING_VIEW
#endif
#endif
#if (_LIBCPP_VERSION > 4000) && (__cplusplus > 201402L) && !defined(_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR)
#if (_LIBCPP_VERSION > 4000) && (__cplusplus > 201402L) && !defined(_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR)
# define BOOST_NO_AUTO_PTR
# define BOOST_NO_AUTO_PTR
...
@@ -104,6 +103,7 @@
...
@@ -104,6 +103,7 @@
#endif
#endif
#define BOOST_NO_CXX17_ITERATOR_TRAITS
#define BOOST_NO_CXX17_ITERATOR_TRAITS
#define BOOST_NO_CXX17_STD_INVOKE // Invoke support is incomplete (no invoke_result)
#if (_LIBCPP_VERSION <= 1101) && !defined(BOOST_NO_CXX11_THREAD_LOCAL)
#if (_LIBCPP_VERSION <= 1101) && !defined(BOOST_NO_CXX11_THREAD_LOCAL)
// This is a bit of a sledgehammer, because really it's just libc++abi that has no
// This is a bit of a sledgehammer, because really it's just libc++abi that has no
...
@@ -113,10 +113,16 @@
...
@@ -113,10 +113,16 @@
# define BOOST_NO_CXX11_THREAD_LOCAL
# define BOOST_NO_CXX11_THREAD_LOCAL
#endif
#endif
#if defined(__linux__) && !defined(BOOST_NO_CXX11_THREAD_LOCAL)
#if defined(__linux__) &&
(_LIBCPP_VERSION < 6000) &&
!defined(BOOST_NO_CXX11_THREAD_LOCAL)
// After libc++-dev is installed on Trusty, clang++-libc++ almost works,
// After libc++-dev is installed on Trusty, clang++-libc++ almost works,
// except uses of `thread_local` fail with undefined reference to
// except uses of `thread_local` fail with undefined reference to
// `__cxa_thread_atexit`.
// `__cxa_thread_atexit`.
//
// clang's libc++abi provides an implementation by deferring to the glibc
// implementation, which may or may not be available (it is not on Trusty).
// clang 4's libc++abi will provide an implementation if one is not in glibc
// though, so thread local support should work with clang 4 and above as long
// as libc++abi is linked in.
# define BOOST_NO_CXX11_THREAD_LOCAL
# define BOOST_NO_CXX11_THREAD_LOCAL
#endif
#endif
...
@@ -130,4 +136,8 @@
...
@@ -130,4 +136,8 @@
# define BOOST_NO_CXX14_HDR_SHARED_MUTEX
# define BOOST_NO_CXX14_HDR_SHARED_MUTEX
#endif
#endif
#if !defined(BOOST_NO_CXX14_HDR_SHARED_MUTEX) && (_LIBCPP_VERSION < 5000)
# define BOOST_NO_CXX14_HDR_SHARED_MUTEX
#endif
// --- end ---
// --- end ---
boost/config/stdlib/libstdcpp3.hpp
View file @
1eb193b5
...
@@ -294,13 +294,13 @@ extern "C" char *gets (char *__s);
...
@@ -294,13 +294,13 @@ extern "C" char *gets (char *__s);
#endif
#endif
//
//
// C++17 features in GCC
6
.1 and later
// C++17 features in GCC
7
.1 and later
//
//
#if (BOOST_LIBSTDCXX_VERSION < 60100) || (__cplusplus <= 201402L)
# define BOOST_NO_CXX17_STD_INVOKE
#endif
#if (BOOST_LIBSTDCXX_VERSION < 70100) || (__cplusplus <= 201402L)
#if (BOOST_LIBSTDCXX_VERSION < 70100) || (__cplusplus <= 201402L)
# define BOOST_NO_CXX17_STD_INVOKE
# define BOOST_NO_CXX17_STD_APPLY
# define BOOST_NO_CXX17_STD_APPLY
# define BOOST_NO_CXX17_HDR_OPTIONAL
# define BOOST_NO_CXX17_HDR_STRING_VIEW
#endif
#endif
#if defined(__has_include)
#if defined(__has_include)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment