Commit Graph

182 Commits

Author SHA1 Message Date
jzmaddock 2052ff0320 Add broad scope feature checks. 2021-03-18 19:17:18 +00:00
John Maddock 6b9256b47d Add std lib version macros 2021-02-03 11:18:52 +00:00
jzmaddock d068116805 Add all C++17 headers not already covered. 2020-07-27 18:14:55 +01:00
Glen Fernandes c6817bf70e Implement BOOST_OVERRIDE 2020-04-09 16:22:41 -04:00
jzmaddock 9d79e8111a Print out \_GLIBCXX_USE_FLOAT128 config_info.cpp. 2020-01-24 18:23:04 +00:00
Edward Diener 4fdd8bf833 Changed from boost_no_union_static_data to boost_no_cxx11_unrestricted_union, in both files and macro name. Implemented extended functionality for user-defined classes with non-trivial special member functions in test. 2019-12-11 21:58:12 -05:00
Edward Diener 4031128717 Added defect macro BOOST_NO_CXX11_UNION_STATIC_DATA for compilers which do not support unions with static data. 2019-12-11 00:33:25 -05: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 baf3a25a65 Update config_info.cpp. 2019-06-27 18:14:33 +01:00
jzmaddock 10c5df0159 Update char8_t tests and print out C++20 feature macros. 2019-06-27 12:48:00 +01:00
jzmaddock f76000bbc9 Update version check for __cpp_deduction_guides.
Fixes https://github.com/boostorg/config/issues/279.
2019-04-21 09:17:37 +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 4d9e3db530 Add versioning to std feature checks, document the feature. 2019-02-11 18:22:05 +00:00
jzmaddock 93dc993313 Implement b2 checks for std lib feature macros. 2019-02-10 20:03:32 +00: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 39f48141c5 Fix some warnings and miswritten test case, add test for BOOST_HAS_PRAGMA_DETECT_MISMATCH. 2018-04-18 20:08:22 +01:00
Zach Laine 15d78e548f Add BOOST_NO_CXX17_IF_CONSTEXPR. 2018-03-06 17:44:52 -06:00
jzmaddock f68542269a config_info: add more architecture specific macros. 2018-02-22 12:50:48 +00:00
akrzemi1 3ec5a2b573 Added macro BOOST_NO_CXX11_DEFAULTED_MOVES 2018-01-04 00:58:32 +01:00
jzmaddock b95595517e Merge pull request #201 from boostorg/pr/more-gcc-macros
Print a few more g++/libstdc++ macros, notably _GLIBCXX_RELEASE
2017-12-17 09:15:51 +00:00
Peter Dimov d70e6fcc85 Print a few more g++/libstdc++ macros, notably _GLIBCXX_RELEASE 2017-12-17 03:15:08 +02:00
Peter Dimov d5986d697c Print more MS macros, taken from VS2017 15.5 yvals.h 2017-12-15 19:25:13 +02:00
jzmaddock ae3c914e70 Merge pull request #198 from boostorg/msvc_15_5
Apply changes required by MSVC-15.5.
2017-12-12 10:00:24 +00:00
jzmaddock 884133ef7f Config.MSVC-15.5: Fix macro spelling. 2017-12-11 20:02:32 +00:00
jzmaddock f060bb1eca Config.MSVC-15.5: Update list of predefined macros printed in config_info.cpp. 2017-12-11 19:27:43 +00:00
Peter Dimov 6e8df4186f Print SD-6 macros and a few more VC STL ones 2017-11-06 23:40:06 +02:00
jzmaddock f6c3a163f0 Merge branch 'master' into develop 2017-08-25 19:47:02 +01:00
Arkady Shapkin 19429a2bde Print _MSVC_LANG for MSVC complier 2017-08-18 16:19:11 +03:00
jzmaddock 8f09bc2846 Merge pull request #161 from Lastique/no_cxx17_std_iterator_traits
Add BOOST_NO_CXX17_ITERATOR_TRAITS macro.
2017-07-21 19:40:17 +01:00
jzmaddock 08c7f03f29 Add android detection macros to config_info output. 2017-07-21 13:25:48 +01: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
Andrey Semashev 4a58e5360a Added BOOST_MAY_ALIAS and BOOST_NO_MAY_ALIAS macros.
The macros can be used to mark types that can alias other types (i.e. break
C++ strict aliasing rules).
2017-07-12 17:51:53 +03:00
jzmaddock d2b7f45ea2 Add android detection macros to config_info output. 2017-06-14 19:49:11 +01:00
Glen Fernandes a6ccb8f910 Add BOOST_NO_CXX17_FOLD_EXPRESSIONS detection 2017-05-29 10:29:17 -04:00
Glen Fernandes 1995778211 Add BOOST_NO_CXX17_INLINE_VARIABLES detection 2017-05-29 10:01:36 -04:00
Glen Fernandes fe06370972 Add BOOST_NO_CXX17_STRUCTURED_BINDINGS detection 2017-05-29 09:57:18 -04:00
jzmaddock 373710b7ce Begin to remove all references to TR1. 2017-05-28 10:11:59 +01: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
jzmaddock 32318e41aa Add clang detection macros to config_info.cpp. 2017-05-19 18:11:56 +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
jzmaddock 79bd4b8acf Simplify build-time config checks.
These now simply reflect whatever config.hpp reports, and are therefore always in synch with the headers.
They are also now compile-time tests only, which means they function with cross compilers.
Fixes: https://svn.boost.org/trac/boost/ticket/12805.
2017-04-17 13:19:19 +01:00
jzmaddock 79ac4bdbeb Merge branch 'boost_no_cxx11_sfinae_expr' of https://github.com/glenfe/config into pr114
# Fixed Conflicts:
#	checks/Jamfile.v2
#	checks/test_case.cpp
#	test/all/Jamfile.v2
#	test/config_test.cpp

Also added some more documentation to tie together the various SFINAE macros.  Regenerated the docs.
2017-02-05 19:38:35 +00:00
jzmaddock 329b4c17f0 Merge branch 'restrict_support' of https://github.com/jfalcou/config into restrict_keyword
Add test case for boost_no_restrict_references.
Regenerate tests.
Tested msvc-10 - 14, intel 17, gcc-5.3.0.
2017-02-05 19:00:04 +00:00
Glen Fernandes 6e93ac5d72 Add BOOST_NO_CXX11_SFINAE_EXPR 2017-02-04 09:20:36 -05: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 b0b52d6c75 defect macro for C++17 feature std::invoke() 2016-10-14 20:49:48 +02:00
jzmaddock 4fc32ad70a Add support for C++11 thread_local. 2016-07-02 09:09:19 +01:00