Commit Graph
88 Commits
Author SHA1 Message Date
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
jzmaddock 32237deddc Reorganize clang config to avoid macro redefinitions and fix GCC-4.8, 4.9, and 5.0 detection. 2014-10-08 13:37:18 +01:00
jzmaddock b36566fe04 Reorganise library version detection, adds tentative fix for clang with libstdc++. See issues 10600 and 7473 2014-10-05 13:41:42 +01:00
jzmaddock 654762003e Header <regex> is finally working (probably) in gcc-4.9.
Add better tests for it as well.
2014-03-25 17:12:46 +00:00
Andrey Semashev 0b8b87a632 Mark <regex> unusable for all libstdc++ versions
The <regex> header is present but the regex implementation is incomplete and fails with regex_error exceptions in runtime for many valid patterns. So define BOOST_NO_CXX11_HDR_REGEX for it unconditionally.

See: http://thread.gmane.org/gmane.comp.lib.boost.devel/250010
2014-03-22 19:38:49 +03:00
Peter Dimov 9c117007ba Add BOOST_NO_CXX11_ADDRESSOF, BOOST_NO_CXX11_STD_ALIGN 2014-02-11 18:20:31 +02:00
jzmaddock 50c736c9ab GCC-4.7x at least on Mingw does not have a conforming <atomic> header - at least not that you can link to. 2013-12-13 09:53:06 +00: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 1f5100001f Apply patch from #8401.
Fixes #8401.

[SVN r83957]
2013-04-18 16:14:28 +00:00
Marshall Clow c4b13231ba Deprecated BOOST_NO_NUMERIC_LIMITS_LOWEST; use BOOST_NO_CXX11_NUMERIC_LIMITS instead
[SVN r79452]
2012-07-12 13:57:00 +00:00
Marshall Clow 20b319483f Rename a bunch of C++11 configuration macros to include 'CXX11' in the name; preserve old macro names for compatibility, but mark them as deprecated. No functionality change intended
[SVN r79400]
2012-07-10 13:57:24 +00:00
John Maddock eb15b40323 Make C++11 smart ptrs a GCC-4.4 feature.
[SVN r78263]
2012-04-30 11:14:44 +00:00
John Maddock 8a0c28bb29 Fix some C++11 config options.
[SVN r78217]
2012-04-27 11:32:39 +00:00
John Maddock ca0b295449 Fix up GCC-4.7.0 config options.
Change boost_no_cxx11_allocator.ipp to only test for allocator related features.

[SVN r78194]
2012-04-25 17:18:23 +00:00
John Maddock 95068b4510 Add four new config macros:
BOOST_NO_CXX11_ALLOCATOR
BOOST_NO_CXX11_ATOMIC_SMART_PTR
BOOST_NO_CXX11_HDR_FUNCTIONAL
BOOST_NO_CXX11_SMART_PTR

[SVN r78132]
2012-04-22 10:57:10 +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