Commit Graph
103 Commits
Author SHA1 Message Date
jzmaddock 45100b9c04 Tentative fix for issue 376.
Fixes: https://github.com/boostorg/config/issues/376.
2021-03-19 17:37:28 +00:00
jzmaddock 499c0f965e Correct gcc-10 boost_has_hash. 2021-03-12 19:46:48 +00:00
jzmaddock 5e71c0dcad Correct spelling of BOOST_HAS_HASH in undef! 2021-03-12 19:33:04 +00:00
jzmaddock 9a06b9a487 hash_set/hash_map no longer function from gcc-10 onwards. 2021-03-12 19:27:19 +00:00
jzmaddock b5b3482a58 libstdc++3 Disable more things that rely on concepts, if concepts aren't supported.
ie older clang on newer std lib.
2021-03-05 12:13:49 +00:00
jzmaddock 5f9b983798 Fix up libstdc++3 for older clang with a newer std lib. 2021-03-05 12:05:31 +00:00
jzmaddock 8bacf65145 Begin C++20 support. 2021-03-04 20:38:19 +00:00
Nikita Kniazev 18d34e3123 Remove BOOST_NO_CXX11_HDR_ATOMIC for Clang < 3.7
This restriction is either too pessimistic or completely wrong.

Closes #367
2021-03-03 04:51:34 +03:00
jzmaddock b4a0ebc265 Update libstdcpp3.hpp to use has_include to check for has_set/hash_map presence.
Correct doc typo.
Update tests to use BOOST_HASH_SET_HEADER.
Fixes https://github.com/boostorg/config/issues/349.
2020-12-18 10:53:01 +00:00
jzmaddock a9bc134610 Merge pull request #340 from boostorg/cxx17_headers
Macros for c++17 headers
2020-10-12 18:09:14 +01:00
Victor Westerhuis 3b62357c43 Do not use C++98 binders when _GLIBCXX_USE_DEPRECATED=0
They are not available from libstdc++ in that case.
2020-09-14 14:49:40 +02:00
jzmaddock 2276736ced Another try to configure <execution> correctly for libstdc++. 2020-07-29 19:12:24 +01:00
jzmaddock d0f983f942 Header <execution> may not be available if it depends on Intel's TBB. 2020-07-29 18:57:56 +01:00
jzmaddock 03e99668f6 Define BOOST_NO_CXX17_HDR_CHARCONV pre-gcc-10. 2020-07-28 19:07:19 +01:00
Andrey Semashev 48a22d91b3 Detect libstdc++ from gcc 10 by the presence of <compare> header. 2020-05-23 19:46:40 +03:00
jzmaddock 7292b5d6d1 Fix accidental removal of BOOST_NO_CXX11_HDR_EXCEPTION define 2019-10-28 19:30:59 +00:00
jzmaddock c035825792 Update libstdc++ library version detection: fixes https://github.com/boostorg/config/issues/302 2019-10-28 17:59:35 +00:00
jzmaddock 7bc82dbefd Add BOOST_NO_CXX11_EXCECPTION.
Replaces: https://github.com/boostorg/config/pull/285
Fixes https://github.com/boostorg/config/issues/284
See also: https://github.com/boostorg/exception/issues/10
2019-08-23 12:45:33 +01:00
jzmaddock d112744885 Add BOOST_NO_CXX17_HDR_VARIANT.
See https://github.com/boostorg/config/issues/264
2019-04-01 19:08:54 +01:00
jzmaddock b420491e88 Add BOOST_NO_CXX17_HDR_STRING_VIEW. 2018-08-16 11:25:16 +01:00
jzmaddock 5364a2e8a7 Add new macro BOOST_NO_CXX17_HDR_OPTIONAL.
Fixes: https://github.com/boostorg/config/issues/236.
2018-08-04 19:21:21 +01:00
jzmaddock 3764d61f25 BOOST_NO_CXX17_STD_INVOKE: Update test case to check we have std::invoke_result.
MSVC has no std::invoke in C++14 mode.
GCC has no std::invoke_result prior to 7.1.
2018-04-03 19:08:57 +01:00
Brian Kuhl 918c5fc486 Update vxworks.hpp for VxWorks 7 2017-09-02 06:21:57 -04:00
Andrey Semashev 34f320c4c9 Added BOOST_NO_CXX17_ITERATOR_TRAITS macro.
The macro indicates that the standard library does not implement SFINAE-friendly
std::iterator_traits (LWG issue 2408, [iterator.traits]/2).
2017-07-12 20:37:47 +03:00
jzmaddock ecd1c79fd0 Merge pull request #134 from glenfe/develop
Add BOOST_NO_CXX11_POINTER_TRAITS library defect detection
2017-05-20 11:30:15 +01:00
John Maddock cd396b619a Clang 3.x can't parse <chrono> from gcc-4.6 and earlier. 2017-05-19 19:18:40 +01:00
Glen Fernandes 219c351cb4 Add BOOST_NO_CXX11_POINTER_TRAITS 2017-05-19 13:29:52 -04:00
jzmaddock 40f4e6ed2f Disable <chrono> for older clang versions. 2017-05-19 18:11:29 +01:00
John Maddock 6d7592091c When using clang + libstdC++ not all C++11 features are necessarily available 2017-05-19 13:38:02 +01:00
jzmaddock 7a78d997d0 Fixes for various clang versions: clang-5 didn't like the comparison used for testing nl_type.h, other clang versions look for ::gets even though libstdc++ doesn't define it 2017-02-26 13:01:11 +00:00
Jonathan Wakely e21b1729cb Fix name of the library 2017-01-17 23:21:37 +00:00
jzmaddock 25be5543ae libstdc++ has no std::exchange unless in C++14 mode. 2016-12-15 10:35:00 +00:00
Oliver Kowalke 13f5d9c88a defect macro for C++14 feature std::exchange() 2016-12-12 19:41:30 +01:00
Oliver Kowalke 68b7cc8759 defect macro for C++17 feature std::apply() 2016-12-11 12:25:53 +01:00
Oliver Kowalke b20d7a811e use of <experimental/memory_resource> for clang detection
use <experimental/memory_resource> instead of <experimental/filesystem> to check for libstdc++ 6.1
2016-10-20 13:52:28 +02:00
Oliver Kowalke 350cfd5d82 use <experimental/filesystem> to test for version 6.1 (clang) 2016-10-20 08:59:51 +02:00
Oliver Kowalke b0b52d6c75 defect macro for C++17 feature std::invoke() 2016-10-14 20:49:48 +02:00
John Maddock a17bb6c8da Update for Oracle 12.5, see issue #12425 2016-09-04 16:04:08 +00:00
Kohei Takahashi 9018b7b58d Define BOOST_NO_AUTO_PTR when libstdcxx don't provide std::auto_ptr. 2016-02-29 19:48:49 +09:00
jzmaddock 7b9e5f8d6b std::shared_ptr is only partly usable on Oracle, disable for now. 2015-08-18 18:09:15 +01:00
jzmaddock 15d56c9cff Fix detection of libstdc++ 4.7.x. 2015-07-07 19:22:38 +01:00
Edward Diener 2f24d9811f Added logic when header file found to check for C++14 __cplusplus kevel. 2015-06-30 23:42:05 -04:00
Edward Diener 4f80398754 Updated using SD-6 2015-06-27 21:06:57 -04:00
Edward Diener 3fa00f8adb Support for C++14 shared_mutex header 2015-06-09 08:32:28 -04:00
jzmaddock 88167ee705 Tentative fix for GCC 5.1 C++11 feature updates. 2015-04-24 17:10:13 +01:00
jzmaddock d5e99748aa Update for Solaris Studio 12.4. 2015-02-21 17:30:56 +00:00
Jessica Hamilton 6038d5fd7e haiku: add platform support 2014-11-16 13:28:57 +13:00
Kohei Takahashi 2a51a64b84 Fix error on __has_include with older clang (< 3.1)
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-10-14 12:46:21 +09:00
jzmaddock f9bfac1297 Fix broken <atomic> with clang, tentatively fix clang number separator option. 2014-10-12 13:20:11 +01:00
jzmaddock a8868e82e0 Enable <thread> for gcc-4.8 and later.
Disable thread support headers depending on values of internal libstdc++ macros.
2014-10-08 18:58:15 +01:00