544 Commits

Author SHA1 Message Date
Edward Diener
efaceea8c3 Updated configuration for Embarcadero C++ clang-based compilers. Created a better test for CWCHAR compatibility which involves a minimum of multi-byte character functionality also. 2020-04-03 20:53:01 -04:00
jzmaddock
687c9e80c9 Merge branch 'develop' into develop 2020-03-25 09:49:57 +00:00
Edward Diener
a592d243c6 Fix for Issue about config-link-test. Added some code for making sure BOOST_NO_EXCEPTIONS is defined if it needs to be. 2020-03-21 18:49:15 -04:00
Edward Diener
f9e74d8a12 Updated configuration for Embarcadero clang based compilers 2020-03-20 12:29:35 -04:00
Andrey Semashev
0173564c24 Added tests for alignas involving constant expressions.
Some compilers (e.g. gcc 4.8) are known to require a literal constant in
alignas and not supporting a constant expression. The test was modified
to detect that.
2020-03-01 12:53:47 +03:00
jzmaddock
9aaa4edda1 Add helper macro BOOST_IF_CONSTEXPR. 2020-01-24 18:33:21 +00: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
8aa8d541b3 Update suffix.hpp for older msvc versions.
See 8dcea4d78c (commitcomment-35718928).
2019-10-30 18:30:31 +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
83b9463643 Fix inspection report issues. 2019-08-21 11:08:06 +01:00
jzmaddock
75cdaea7e2 Reinstate program incorrectly deleted in last commit. 2019-08-20 20:32:06 +01:00
jzmaddock
b97ab76eae Big clean up to fix issues identified by the inspect program.
Regenerate docs.
2019-08-20 18:51:17 +01:00
jzmaddock
5dcae72f8e Improve backwards compatibility for other libraries that use config_info_install target. 2019-06-29 08:44:12 +01:00
jzmaddock
23e245f5d0 Revert "Revert "Print config info via b2""
This reverts commit ab3807ef83.
2019-06-28 18:27:23 +01:00
jzmaddock
fa1544f7b2 Merge pull request #289 from boostorg/gcc9
Add gcc-9, clang-8, xcode-10 to test matrix.
2019-06-28 18:24: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
089e3749fd Correct usage of std::memory_order in test case.
Otherwise it fails in C++20.
2019-06-27 08:34:47 +01:00
jzmaddock
ab3807ef83 Revert "Print config info via b2"
This reverts commit dd47b4b59e.

# Conflicts:
#	test/Jamfile.v2
2019-06-26 18:11:29 +01:00
jzmaddock
890d569350 Add rule for backwards compatibility. 2019-06-26 13:13:49 +01:00
jzmaddock
fdb0a1a241 Merge pull request #274 from Kojoley/print-config-info-via-b2
Print config info via b2
2019-06-26 08:36:29 +01:00
jzmaddock
0bb4a11787 tentative fixes for clang failures. 2019-06-18 18:42:30 +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
87931b074f In C++20 the u8 literal produces a char8_t[] not a char[].
Fixes https://github.com/boostorg/config/issues/276.
2019-04-16 19:37:15 +01:00
Nikita Kniazev
dd47b4b59e Print config info via b2
Simplifies CI build scripts. Allows having CI builds with multiple options
like `address-model=32,64`.
2019-04-03 03:50:58 +03:00
jzmaddock
6ef16c8d90 Add BOOST_ATTRIBUTE_NO_UNIQUE_ADDRESS.
See https://github.com/boostorg/config/issues/257.
2019-04-02 18:40:25 +01:00
John Maddock
9c829919aa Merge branch 'variant' into nodiscard 2019-04-01 21:19:55 +01:00
jzmaddock
a16e603718 Add missing files. 2019-04-01 21:19:11 +01:00
jzmaddock
85b4600817 Add BOOST_ATTRIBUTE_NODISCARD.
See https://github.com/boostorg/config/issues/258.
2019-04-01 19:30:31 +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
38a9ed16db Correct BOOST_UNREACHABLE_RETURN usage in test case. 2019-04-01 17:21:14 +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
32ecea81e0 Add test case for issue #246 2018-11-07 13:52:52 +00:00
jzmaddock
f19c65679e Add minimal CMake test script - just enough to verify the interface description. 2018-10-05 19:32:44 +01:00
jzmaddock
1d39fdec80 Remove malformed CMake testing files. 2018-09-28 12:46:49 +01:00
jzmaddock
d25a1df5d2 Add comments to CMake files.
[CI SKIP]
2018-09-28 12:07:29 +01:00
Mike Dev
fe45ca1601 [CMake] Test cmake target on travis 2018-09-25 20:36:19 +02:00
jzmaddock
cec1a860e9 Add call to report_errors() to limits_test.cpp. 2018-09-15 08:21:19 +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
ec3318d47a Fixes https://github.com/boostorg/config/issues/237.
Also tentatively adds .cu test file, though without boost.build support at present.
2018-08-04 18:15:48 +01:00
jzmaddock
c80a3088a0 #pragma detect_mismatch should be at global scope.
[CI SKIP]
2018-04-19 18:25:57 +01:00
jzmaddock
a97d5f32d4 Previous fix broke some tests, second try at warning suppression. 2018-04-19 09:12:18 +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
jzmaddock
29b754ed08 Merge pull request #216 from tzlaine/develop
Add BOOST_NO_CXX17_IF_CONSTEXPR.
2018-04-18 19:26: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
Zach Laine
d03a3756d9 Add static_asserts() to a false path in boost_no_cxx_if_constexpr.ipp as a
further check of implementation correctness.
2018-03-17 13:37:34 -05:00