Commit Graph
283 Commits
Author SHA1 Message Date
jzmaddock 77df5deb6e Configuration update for msvc-2022. 2021-11-23 16:04:45 +00:00
jzmaddock 7cc7f94007 Update for present, but broken <concepts> on latest MacOS clang. 2021-10-07 13:05:15 +01:00
jzmaddock 88866861d2 MSVC update that handled deprecation of <codecvt> and availability of <stop_token>.
See also https://github.com/boostorg/config/issues/391.
2021-08-17 17:32:09 +01:00
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 4d98673098 Correct macro spelling. 2021-03-05 16:18:05 +00:00
jzmaddock 23de20c230 Older libsc++ versions have incomplete <span>. 2021-03-05 12:59:22 +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 ac0c7c346c Fix up libc++ C++20 macro tests. 2021-03-05 11:54:43 +00:00
jzmaddock f1f686ec65 Correct non-c++20 builds. 2021-03-05 10:51:17 +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 45f7d00813 Update libcpp.hpp for C++17 features.
Most particularly BOOST_NO_CXX17_HDR_EXECUTION.
2021-02-03 17:46:25 +00: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
jzmaddock d068116805 Add all C++17 headers not already covered. 2020-07-27 18:14:55 +01:00
jzmaddock 4d253c0efb Merge branch 'develop' of https://github.com/boostorg/config into develop 2020-07-25 19:46:34 +01:00
jzmaddock 46e0a13496 Further restrict typeinfo workarounds to msvc. 2020-07-25 19:46:13 +01:00
Andrey Semashev 48a22d91b3 Detect libstdc++ from gcc 10 by the presence of <compare> header. 2020-05-23 19:46:40 +03:00
Edward Diener efaceea8c3 Updated configuration for Embarcadero C++ clang-based compilers. Created a better test for CWCHAR compatibility which involves a minimum of multi-byte character functionality also. 2020-04-03 20:53:01 -04:00
Edward Diener aa90bfdb4a Support for Embarcadero clang-based C++ compilers in Boost Config. 2020-03-18 20:23:04 -04:00
jzmaddock 035c096da9 Disable <typeinfo> workaround when not required. 2020-01-24 18:19:31 +00: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 b97ab76eae Big clean up to fix issues identified by the inspect program.
Regenerate docs.
2019-08-20 18:51:17 +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 e27ecad25e Fix BOOST_NO_CXX17_HDR_STRING_VIEW and BOOST_NO_CXX17_HDR_OPTIONAL for msvc and clang/msvc. 2019-04-01 18:23:26 +01:00
jzmaddock b420491e88 Add BOOST_NO_CXX17_HDR_STRING_VIEW. 2018-08-16 11:25:16 +01:00
jzmaddock d3084e8cb0 Stop testing C++1z with obsolete libc++ version.
There is also no shared_timed_mutex in obsolete libc++ versions.
2018-08-05 08:31:18 +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 eb4e8d58d5 Clang/libc++: Disable thread_local prior to clang-6 as it appears not to work.
See: https://github.com/boostorg/config/issues/231.
2018-08-04 17:55:58 +01:00
jzmaddock ffd6682a8b No need to define BOOST_NO_CXX11_THREAD_LOCAL for recent libc++ versions on Linux.
Fixes https://github.com/boostorg/config/issues/231.
2018-08-04 08:25:09 +01:00
jzmaddock 28b1b02546 Merge pull request #220 from pkolbus/remove-c4668-warning
Fix MSVC C4668 on _HAS_NAMESPACE
2018-04-18 19:21:29 +01:00
jzmaddock 149bfe1c93 libcpp has no invoke_result. 2018-04-04 18:37:59 +01:00
jzmaddock 4370498457 std::invoke is only feature complete in VC2015.3 and later. 2018-04-04 18:20:47 +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
Peter Kolbus 77a290c237 Fix MSVC C4668 on _HAS_NAMESPACE
Resolve MSVC warning C4668 (undefined preprocessor macro) for _HAS_NAMESPACE by short-circuiting (checking for Green Hills compiler first).
2018-03-26 22:19:21 -05:00
Peter Dimov 9d3cef6dba Define BOOST_NO_CXX11_THREAD_LOCAL for libc++ on Linux 2018-01-18 21:45:06 +02:00
jzmaddock e376809717 Config.msvc-15.5: enable some initial C++17 features. 2017-12-09 12:44:38 +00:00
Brian Kuhl 918c5fc486 Update vxworks.hpp for VxWorks 7 2017-09-02 06:21:57 -04:00
Marshall Clow 186a7316b9 Fix copy-paste-o
Now checks `_LIBCPP_ENABLE_CXX17_REMOVED_BINDERS` instead.
2017-08-07 06:11:30 -07:00
Marshall Clow b2ee38f94b Add code to set for BOOST_NO_CXX98_RANDOM_SHUFFLE and BOOST_NO_CXX98_BINDERS correctly 2017-08-06 17:53:56 -07:00