Commit Graph
90 Commits
Author SHA1 Message Date
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 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
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
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
Glen Fernandes 219c351cb4 Add BOOST_NO_CXX11_POINTER_TRAITS 2017-05-19 13:29:52 -04: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
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
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 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 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 72116963c5 Correct #if code in last PR. 2016-10-20 19:41:09 +01:00
Oliver Kowalke b0b52d6c75 defect macro for C++17 feature std::invoke() 2016-10-14 20:49:48 +02: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
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 975a488549 Fix for https://svn.boost.org/trac/boost/ticket/10955 2015-02-23 13:07:00 +00:00
jzmaddock 2662b12166 Disable <atomic> for Intel C++ as it can't yet parse the file. 2014-08-22 18:50:05 +01:00
Glen Fernandes e853f2714c Dinkumware's BOOST_NO_CXX11_STD_ALIGN at < 610
Dinkumware 540 has std::align but it is a non-conforming implementation.
2014-02-12 18:05:29 -08:00
Peter Dimov 9c117007ba Add BOOST_NO_CXX11_ADDRESSOF, BOOST_NO_CXX11_STD_ALIGN 2014-02-11 18:20:31 +02:00
jzmaddock 08392fd952 Update test for C++11 std::allocator to check that member rebind is a template alias. Update config headers to match. 2014-02-06 13:29:59 +00:00
Edward Diener c75b0e9d8b Merge branch 'develop' of https://github.com/boostorg/config into develop 2013-12-14 15:06:55 -05:00
Edward Diener 0762a554c6 Corrected spelling change in comment 2013-12-14 15:06:08 -05:00
jzmaddock 1c3cec7a15 Fix buggy test cases.
VC++ has <atomic> in recent versions.
2013-12-13 18:51:32 +00:00
jzmaddock c9c7c832c1 Merge branch 'develop' of https://github.com/boostorg/config into develop 2013-12-12 19:32:22 +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
Edward Diener ceafb39c24 For VC++ and clang-cl if _HAS_EXCEPTIONS is 0, then the <exception> header must be manually included before the <typeinfo> header to avoid compiler errors. 2013-12-11 18:53:21 -05:00
Beman Dawes 153f0c9fb3 Update Microsoft compiler and Dinkumware library support up for the 2013 RC release. Remove support for the November 2012 CTP. Anyone using that release or the June 2013 Preview release for Boost development should upgrade to the 2013 RC release. See http://msdn.microsoft.com/en-us/library/vstudio/hh409293%28v=vs.120%29.aspx for details.
[SVN r85722]
2013-09-17 12:24:36 +00:00
John Maddock f6a50c0ed9 Apply patch from 7898.
REfs #7898.

[SVN r83006]
2013-02-19 16:12:27 +00:00
Marshall Clow 13f7c64272 Update Dinkumware config with info for VC 2012; Refs #7695
[SVN r81613]
2012-11-28 15:56:45 +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 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
John Maddock e8ee9a7843 Fix how _HAS_TR1_IMPORTS is tested.
Fixes #6023.

[SVN r76134]
2011-12-24 16:35:34 +00:00
John Maddock c68266c486 Apply fix for Dinkumware on GHS. Refs #5571.
[SVN r72214]
2011-05-27 16:00:44 +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 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