Commit Graph

51 Commits

Author SHA1 Message Date
jzmaddock
f0af4a9184 The std lib unary/binary_function base classes are deprecated/removed from libcpp15.
Fixes https://github.com/boostorg/container_hash/issues/24.
2022-07-11 18:26:34 +01:00
jzmaddock
08dced51e9 Make checks for <version> C++ specific. 2022-02-24 11:38:17 +00:00
jzmaddock
8104280db6 Refactor C++20 header configuration.
Fixes: https://github.com/boostorg/config/issues/418
Fixes: https://github.com/boostorg/config/issues/420
2022-02-03 18:54:20 +00:00
jzmaddock
ef68c9d944 Add BOOST_NO_CXX20_HDR_VERSION.
Also fix some libcpp.hpp typos.
2022-02-03 18:22:24 +00:00
jzmaddock
7cc7f94007 Update for present, but broken <concepts> on latest MacOS clang. 2021-10-07 13:05:15 +01: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
ac0c7c346c Fix up libc++ C++20 macro tests. 2021-03-05 11:54:43 +00: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
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
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
149bfe1c93 libcpp has no invoke_result. 2018-04-04 18:37:59 +01:00
Peter Dimov
9d3cef6dba Define BOOST_NO_CXX11_THREAD_LOCAL for libc++ on Linux 2018-01-18 21:45:06 +02: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
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
Marshall Clow
0df7552f38 define BOOST_NO_AUTO_PTR when building with libc++ and C++17
New libc++ versions remove `std::auto_ptr` when building as C++17, unless the magic tag `_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR` is defined. Tell the rest of Boost that there's no `auto_ptr` in that case.
2017-05-19 12:22:13 -06:00
Glen Fernandes
219c351cb4 Add BOOST_NO_CXX11_POINTER_TRAITS 2017-05-19 13:29:52 -04: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
jzmaddock
d1c399f971 Clang/libc++ : Tentatively enable <array> and <forward_list> in C++03 mode. 2016-12-09 18:10:32 +00:00
Marshall Clow
4fc6130781 BOOST_NO_CXX17_STD_INVOKE for libc++
Make sure that BOOST_NO_CXX17_STD_INVOKE is defined for C++03/11/14 builds.
2016-11-21 17:53:34 -08:00
Oliver Kowalke
b0b52d6c75 defect macro for C++17 feature std::invoke() 2016-10-14 20:49:48 +02:00
jzmaddock
226bee3010 Older versions of libc++abi have no thread_local support. 2016-08-18 19:26:28 +01:00
jzmaddock
6d46b18e3b Fix up std lib config for clang-3.8 and later 2016-01-03 14:12:01 +00:00
jzmaddock
b1df465870 Second try to get BOOST_NO_CXX11_HDR_ATOMIC set correctly.
See https://github.com/boostorg/config/pull/85#issuecomment-168313984
2016-01-01 16:01:16 +00:00
jzmaddock
af5351f42b <atomic> works in later libc++ releases.
See also https://github.com/boostorg/config/pull/85/files
2016-01-01 13:35:12 +00: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
ce9a0f17c8 Remove direct test for clang version as clang doc says that SD-6 supported fron clang 3.4 and up. 2015-06-28 13:06:27 -04:00
Edward Diener
4f80398754 Updated using SD-6 2015-06-27 21:06:57 -04:00
Edward Diener
ae443e33fa Updated for shared_mutex header 2015-06-09 22:43:10 -04:00
jzmaddock
de968af32a Fix typo, see https://svn.boost.org/trac/boost/ticket/10590 2014-10-04 13:31:09 +01:00
jzmaddock
94d0eaf177 Disable C++11 headers in non-C++11 mode. 2014-09-14 18:27:19 +01:00
Glen Fernandes
c89ac48295 BOOST_NO_CXX11_ALLOCATOR should be defined with libc++ in C++03 mode 2014-05-08 11:13:43 -07:00
jzmaddock
30f4ab53e5 Fix typo in macro name - should be BOOST_NO_ATOMIC_SMART_PTR.
Add BOOST_NO_CXX11_HRD_ATOMIC.
Regenerate docs.
See https://svn.boost.org/trac/boost/ticket/8929.
2013-12-12 19:32:06 +00:00
John Maddock
8a0c28bb29 Fix some C++11 config options.
[SVN r78217]
2012-04-27 11:32:39 +00:00
Marshall Clow
66d9f7dc00 Deprecate all the 'BOOST_NO_OX_*' macros in favor of 'BOOST_NO_CXX11_*' versions. Update tests. Old macros remain for compatibility (for the nonce)
[SVN r77194]
2012-03-04 03:00:49 +00:00
John Maddock
4c07c44225 Revert unnecessary changes.
[SVN r71036]
2011-04-06 17:21:44 +00:00
John Maddock
56d410f014 Make Boost.Config C language compatible.
[SVN r70953]
2011-04-03 17:55:30 +00:00
John Maddock
cea6510410 <future> is incomplete for libc++ as well.
[SVN r70180]
2011-03-19 12:41:45 +00:00
John Maddock
9a80704462 Tweak libstdc++ and libc++ config's to cope with the new tests.
[SVN r70055]
2011-03-17 11:43:20 +00:00
John Maddock
03877f5805 Remove std::concept test macros since these are no longer part of the std.
Update GCC C++0x support.
Improve the tests for C++0x support.
Regenerate the docs.
Update generation program to Boost.Filesystem v3.


[SVN r70001]
2011-03-15 13:17:46 +00:00
Christopher Jefferson
eeb7991cba libc++ has non-standard message_base
[SVN r68860]
2011-02-14 10:29:12 +00:00
Christopher Jefferson
8445752e75 Improve the libc++ configuration
[SVN r68819]
2011-02-12 23:05:03 +00:00