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
jzmaddock
b73cb38a43
Merge pull request #136 from mclow/patch-2
...
define BOOST_NO_AUTO_PTR when building with libc++ and C++17
2017-05-20 11:28:11 +01:00
jzmaddock
f5afbf8e27
Merge pull request #135 from DanielaE/fix/dinkumware-v650-apply
...
The library implementations in MSVC 14.0 and 14.1 have both version n…
2017-05-20 11:27:23 +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
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
Daniela Engert
15a0c119a1
The library implementations in MSVC 14.0 and 14.1 have both version number V6.50:0009, and therefore _CPPLIB_VER defined to 650. But the library in 14.0 does *not* have std::apply whereas the one in 14.1 *does*.
...
Signed-off-by: Daniela Engert <dani@ngrt.de >
2017-05-19 16:06:39 +02: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
0e364efe0b
Add more macros for removed std lib features:
...
BOOST_NO_CXX98_FUNCTION_BASE
BOOST_NO_CXX98_BINDERS
Added new documentation section for features that have been removed from the standard.
2017-04-17 18:41:44 +01:00
Daniela Engert
f3cea5a8e4
Introduce feature-test macro BOOST_NO_CXX98_RANDOM_SHUFFLE
...
The algorithm std::random_shuffle was marked as deprecated in C++14 and is removed from the upcoming C++17 standard. The name itself is still reserved and library implementations may continue to ship it. In this sense, support for std::random_shuffle must be regarded as purely optional and a feature-test macro is required to test for its presence.
Signed-off-by: Daniela Engert <dani@ngrt.de >
2017-04-17 13:48:08 +02:00
jzmaddock
3fbf51f31a
Move private headers into detail directory.
...
See https://svn.boost.org/trac/boost/ticket/12328 .
2017-04-16 19:12:59 +01:00
Daniela Engert
4c3433434f
vc++ 19.10 has std::apply if enabled by /std:c++latest
...
Signed-off-by: Daniela Engert <dani@ngrt.de >
2017-04-07 18:00:00 +02:00
jzmaddock
ed79ada80e
Merge branch 'z_OS_support' of https://github.com/pgroke-dt/config into develop
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2017-02-26 18:59:19 +00: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
ab0fa3b3d7
Fix to get config_test passing with /clr or /clr pure and msvc.
...
See https://svn.boost.org/trac/boost/ticket/12713 .
Note that /clr safe is still not supported - so much doesn't work it's hard to call it a C++ compiler in that case.
2016-12-27 19:34:05 +00:00
jzmaddock
54f108a006
MSVC compatible compilers may have __has_include but still set __cplusplus to obsolete versions numbers for MSVC compatibility (ie Intel).
2016-12-15 18:29:58 +00:00
jzmaddock
25be5543ae
libstdc++ has no std::exchange unless in C++14 mode.
2016-12-15 10:35:00 +00:00
jzmaddock
553dcbec96
MSVC has no std::apply.
2016-12-15 10:21:26 +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
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
jzmaddock
72116963c5
Correct #if code in last PR.
2016-10-20 19:41:09 +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
dff5971974
Merge branch 'develop' of https://github.com/boostorg/config into develop
2016-09-04 16:04:46 +00:00
John Maddock
a17bb6c8da
Update for Oracle 12.5, see issue #12425
2016-09-04 16:04:08 +00:00
jzmaddock
226bee3010
Older versions of libc++abi have no thread_local support.
2016-08-18 19:26:28 +01: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
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
jzmaddock
d05131f7e2
Merge branch 'develop' of https://github.com/boostorg/config into develop
2015-08-18 18:09:35 +01:00
jzmaddock
7b9e5f8d6b
std::shared_ptr is only partly usable on Oracle, disable for now.
2015-08-18 18:09:15 +01:00
Marcel Raad
776bc8ac10
Update for MSVC14's _HAS_AUTO_PTR_ETC
...
If _HAS_AUTO_PTR_ETC is defined to 0, MSVC14's standard library implements C++17's N4190, thus removing std::auto_ptr.
2015-08-11 10:05:33 +02:00
jzmaddock
a66898d292
Disable <codecvt> for VC14 as it fails at link time when using the facets.
2015-07-27 09:23:25 +01:00
jzmaddock
d5839ad09b
Enable <shared_mutex> support for VC14.
2015-07-25 13:23:33 +01:00
Marcel Raad
16f491d48d
Update for the VS14 RTM standard library
...
As mentioned by Stephan T. Lavavej here:
http://lists.boost.org/Archives/boost/2014/11/217698.php
BOOST_NO_CXX11_ADDRESSOF shouldn't be necessary anymore for MSVC 14 RTM. The unit test passes.
2015-07-20 19:58:59 +02: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
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
584a711c7a
Removed comment.
2015-06-27 21:25:36 -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
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
975a488549
Fix for https://svn.boost.org/trac/boost/ticket/10955
2015-02-23 13:07:00 +00:00