Commit Graph

484 Commits

Author SHA1 Message Date
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
5fa3b7d00c Merge branch 'feature/pragma-message' into develop
# Fixed Conflicts:
#	doc/html/index.html
2017-12-12 18:15:37 +00: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
jzmaddock
280ebb9129 Config.msvc-15.5: Fix test case for BOOST_NO_CXX17_ITERATOR_TRAITS. 2017-12-09 17:45:26 +00:00
jzmaddock
305f5a58ef Config.msvc-15.5: Fix tests that can't pass in C++17. 2017-12-09 12:42:47 +00:00
Peter Dimov
08bd1dbe71 Move BOOST_STRINGIZE, BOOST_JOIN to config/helper_macros.hpp; use BOOST_STRINGIZE in BOOST_PRAGMA_MESSAGE 2017-12-04 18:05:05 +02:00
Peter Dimov
025db91843 Add BOOST_PRAGMA_MESSAGE 2017-12-04 00:55:14 +02:00
Peter Dimov
6e8df4186f Print SD-6 macros and a few more VC STL ones 2017-11-06 23:40:06 +02:00
jzmaddock
907cb7ca8b Merge pull request #185 from kuhlenough/develop
Update config for VxWorks 7
2017-10-25 18:30:04 +01:00
jzmaddock
0cdf4a5da8 config_build_check.cpp: add workarounds from config.hpp for clang build. 2017-09-04 08:34:00 +01:00
Brian Kuhl
8f1f13d0f2 Disable tests for VxWorks that use no-rtti
While it's possible to re-build VxWorks libraries with this option, there isn't a separate link path, so there's no way to test in the same pass as normal libraries
2017-09-02 06:26:39 -04:00
jzmaddock
6102d18867 VC2017.3: don't test for wcscpy as VC2017.3 rejects it as "unsafe". 2017-09-01 18:33:35 +01: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
Alan Somers
5cf4d8b369 Fix bash paths in shebangs
"/bin/bash" is a Linuxism.  "/usr/bin/env bash" is portable.
2017-07-26 11:23:05 -06: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
e41b4e22ac Jamfile needs to import testing module. 2017-05-24 18:02:43 +01:00
jzmaddock
63b39e2758 Enhance thread_local tests.
Try to reproduce issues:
https://github.com/libbitcoin/libbitcoin/issues/733#issuecomment-301652210
https://github.com/boostorg/multiprecision/issues/20
2017-05-21 11:41:04 +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
jzmaddock
4a02ac84e2 More travis improvements:
Output config_info built from b2.
Add more XCode versions to the test matrix.
2017-05-20 10:53:25 +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
d88c41e681 Remove unnecessary reference to deprecated std::unary/binary_function in test.
This test will only fail for obsolete versions of Metrowerks compilers which are probably no longer supported anyway.
2017-04-16 08:37:17 +01: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
Glen Fernandes
45b11f1fae Update boost_no_cxx11_sfinae_expr test to fail faster
Will now compile-fail for Intel C++ 13 instead of run-fail.
2017-02-07 18:08:28 -05: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
Kohei Takahashi
7a3fe1f874 Update c++14 constexpr test.
Compiler should allow non-const member function.
2016-12-09 01:11:53 +09:00
Oliver Kowalke
b0b52d6c75 defect macro for C++17 feature std::invoke() 2016-10-14 20:49:48 +02:00
jzmaddock
221f4da6d1 Try to fix constexpr test case for both C++11 and C++14 variations. 2016-08-18 18:34:51 +01:00
jzmaddock
4fc32ad70a Add support for C++11 thread_local. 2016-07-02 09:09:19 +01:00
jzmaddock
733e24c081 Minor workaround for clang-win32. 2016-03-26 18:20:19 +00:00
jzmaddock
efefba30ee Simplify runtime config check Jamfiles. 2016-02-27 19:08:25 +00:00
jzmaddock
9dd2b3afff Add nvcc macro info. 2016-01-12 16:41:20 +00:00
jzmaddock
6d46b18e3b Fix up std lib config for clang-3.8 and later 2016-01-03 14:12:01 +00:00
jzmaddock
ca7967820b Remove dependency to Boost.Test. 2015-10-08 10:39:09 +01:00
jzmaddock
ca01235304 Add missing files. 2015-08-30 10:09:44 +01:00
jzmaddock
15fa6fd8b9 Add BOOST_HAS_FLOAT128 for compilers that support __float128 as a distinct type. 2015-08-13 17:13:32 +01:00
jzmaddock
854a785483 Add missing #include. 2015-08-04 12:44:49 +01: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
dfef189197 Fix test case for <shared_mutex>.
Both clang/libc++ and MSVC-14 support <shared_mutex>, but neither set the SD6 macros so, don't bother testing them.
Definitely don't test for the presence of std::shared_mutex as that's a C++17 feature.
2015-07-25 13:23:04 +01:00
jzmaddock
5ccb1b6c5f Modify Jamfile to configure external library support better. 2015-07-07 17:27:04 +01:00
jzmaddock
54e8de973f Merge branch 'shared_mutex' of https://github.com/eldiener/config into develop 2015-07-07 11:15:11 +01:00
Edward Diener
3ca81f1095 Addition of BOOST_NO_CXX14_HDR_SHARED_MUTEX tests 2015-06-27 21:08:56 -04:00
Edward Diener
b351a9a1ed Updated example checking SD-6 macro 2015-06-27 21:07:50 -04:00
Marcel Raad
cd72cbe273 Add another constexpr test
MSVC 14 RC doesn't call the constexpr conversion operator in some cases.
It complains:
boost_no_constexpr.ipp(72): error C2051: case expression not constant
2015-06-27 13:08:29 +02:00
Edward Diener
3fa00f8adb Support for C++14 shared_mutex header 2015-06-09 08:32:28 -04:00
jzmaddock
fa954b8b61 Change link rule to exe rule.
To prevent cyclic dependencies in status/Jamfile.v2.
2015-05-11 09:03:30 +01:00
Marcel Raad
4ec6a18686 Add more constexpr tests
MSVC 14 RC currently passes the constexpr tests, but fails to compile Boost if BOOST_NO_CXX11_CONSTEXPR is not defined. Added three tests that clang can compile in C++11 mode, but MSVC cannot.
2015-05-05 11:46:28 +02:00
jzmaddock
d7e258faf5 Update Jamfile to check for -latomic
The config_test tests all require linking against -latomic
when GCC provides it in order to test for <atomic>.
Seems to be a new gcc-5.1.0 requirement.
2015-04-24 18:10:30 +01:00
jzmaddock
a2ad620450 Fix inconsistencies in name of boost_no_cxx14_digit_separator(s). 2015-04-24 17:46:29 +01:00
jzmaddock
42cc344212 Merge branch 'develop' of https://github.com/boostorg/config into develop 2014-10-21 12:47:47 +01:00
jzmaddock
dcbb032aa3 Rename BOOST_NO_CXX14_DIGIT_SEPARATOR to BOOST_NO_CXX14_DIGIT_SEPARATORS.
Fix name of BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES in docs.
2014-10-21 12:39:17 +01:00
Kohei Takahashi
78e67031e3 Define BOOST_NO_CXX14_CONSTEXPR unless clang > 3.4.
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-10-21 01:04:06 +09:00
jzmaddock
d9026f1d45 Update for MSVC-14 CTP14.
Fix <type_traits> tests to check for the correct names!
2014-10-19 17:05:01 +01:00
jzmaddock
eaa5c714c8 Change generate.cpp to alphabetize it's results to reduce churn in the results.
Regenerate the generated files.
2014-10-13 13:12:59 +01:00
jzmaddock
b811dd40ae Add C++14 support based on https://github.com/boostorg/config/pull/39 2014-10-12 10:01:22 +01:00
jzmaddock
003d33725e Add helper macro - BOOST_ATTRIBUTE_UNUSED - to suppress unused type/variable warnings. 2014-10-11 13:10:25 +01:00
jzmaddock
d3c1db5436 Apply patch from https://svn.boost.org/trac/boost/ticket/5315.
Allows auto-linking code to synch up with Boost.Build with the --buildid option.
2014-10-02 18:22:19 +01:00
jzmaddock
2690cb8b39 Set BOOST_NO_CXX11_FIXED_LENGTH_VARIADIC_TEMPLATE_EXPANSION_PACKS for Intel. 2014-08-25 19:00:50 +01:00
jzmaddock
4dc7c66c4d Add new macro BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS 2014-08-25 18:37:18 +01:00
jzmaddock
82457fadb7 Add test case for BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS under new name compared to original pull request (also less churn in the generated files). 2014-08-22 18:35:16 +01:00
jzmaddock
04c139e40f Revert "Added a test for BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS."
This reverts commit 85dde189ac.
2014-08-22 18:32:10 +01:00
Andrey Semashev
85dde189ac Added a test for BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS. 2014-08-21 16:42:50 +04:00
jzmaddock
2d297754ad Set BOOST_NO_CXX11_FINAL for all obsolete compilers, or for those we can't test locally.
Improve tests for BOOST_NO_CXX11_FINAL.
2014-08-19 18:34:09 +01:00
K-ballo
f0136c5911 Added macro BOOST_NO_CXX11_FINAL 2014-08-16 12:24:06 -03:00
Marcel Raad
884b53b563 Fix user-defined literal tests for MSVC
The test currently tests not only the compiler's support for user-defined literals, but also its constexpr support, which is only partly implemented in MSVC 14. This change removes the constexpr's that MSVC doesn't like so that the tests pass on MSVC 14 CTP2.
2014-08-12 10:25:04 +02:00
jzmaddock
51da22f6ff Revert "Revert "Add new build-time configuration feature.""
This reverts commit 4cf1376ec2.

Update tests to not use the run rule, but run the programs by other means instead.
2014-06-12 13:30:04 +01:00
jzmaddock
4cf1376ec2 Revert "Add new build-time configuration feature."
This reverts commit dad7bc5b30.

Conflicts:
	checks/config.jam
2014-06-12 09:11:05 +01:00
jzmaddock
8e4d98da1e Merge pull request #25 from boostorg/pull-request/config-test-pthread-rt-flags
Add additional linkflags for no-rtti, no-except runs of config_test.
2014-06-10 19:18:28 +01:00
jzmaddock
28832f792f Improve lambda test case some more. 2014-06-10 19:09:28 +01:00
jzmaddock
02dd6bf9b3 merge 2014-06-10 18:37:24 +01:00
jzmaddock
2638e71dc4 Merge branch 'develop' of https://github.com/boostorg/config into develop 2014-06-10 18:22:34 +01:00
jzmaddock
f0c99f7b7f Suppress more GCC warnings.
Fix GCC compile failure in lambda test case.
2014-06-10 18:22:10 +01:00
Peter Dimov
7948d33e78 Add additional linkflags for no-rtti, no-except runs of config_test. 2014-06-09 01:23:50 +03:00
Peter Dimov
051fbf2cc7 Various g++/clang config_test fixes. 2014-06-09 01:00:56 +03:00
jzmaddock
97618dc66a Merge pull request #23 from boostorg/pull-request/config-info-rtti-macros
Add a few more g++ and Intel predefined macros to config_info.
2014-06-08 09:41:22 +01:00
Peter Dimov
db9540d98d Add a few more g++ and Intel predefined macros to config_info. 2014-06-08 04:25:59 +03:00
Peter Dimov
6fdfceaefa Run config_test and config_info with no RTTI and no exceptions. 2014-06-08 03:25:16 +03:00
jzmaddock
dad7bc5b30 Add new build-time configuration feature. 2014-06-05 18:55:12 +01:00
Glen Fernandes
e008ddb971 Fix clang error and some warnings 2014-06-01 09:22:27 -07:00
Glen Fernandes
98194c6309 Move cstdint tests to this module 2014-06-01 00:29:04 -07:00