Commit Graph

1100 Commits

Author SHA1 Message Date
morinmorin
5050ae481f Use feature names with double underscores to avoid macro interference. 2014-10-26 18:42:35 +09:00
morinmorin
db66a9f051 Remove __has_extension macros for features that emit warnings.
Variable templates can be used in C++03/11 and initialized lambda captures can be used in C++11 as language extensions, but they trigger "extension" warnings. Disallow these extensions to prevent the warning.
2014-10-26 11:16:53 +09:00
jzmaddock
224d70f02a Fix clang version checks. 2014-10-22 17:58:22 +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
ec1f5273be Presence of pthread_yield is dependent on __USE_GNU. 2014-10-20 12:53:40 +01:00
jzmaddock
52882f7327 Enable C++14 return type deduction for vc14. 2014-10-20 11:37:19 +01: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
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
75f4069bad Improve GCC C++14 feature detection. 2014-10-12 15:39:25 +01:00
jzmaddock
f9bfac1297 Fix broken <atomic> with clang, tentatively fix clang number separator option. 2014-10-12 13:20:11 +01:00
jzmaddock
5e78d55d0e Fix spelling of one C++14 macro, improve C++14 auto-detection. 2014-10-12 11:46:15 +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
5838168061 Merge branch 'develop' of https://github.com/boostorg/config into develop 2014-10-10 17:23:28 +01:00
jzmaddock
441311c950 Disable __int128 support when the compiler is really CUDA.
See https://svn.boost.org/trac/boost/ticket/10418.
2014-10-10 17:22:24 +01:00
jzmaddock
f43ed77973 Rework Intel config to make it both more accurate in C++11 mode (hopefully!) and easier to maintain. 2014-10-09 19:21:42 +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
196a4baae0 Fix typo, see https://svn.boost.org/trac/boost/ticket/10590 2014-10-04 08:32:52 +01:00
jzmaddock
71fa89f5e1 Disable log1p and expm1 support in mingw - they often crash for reasons yet to be determined. 2014-10-02 19:00:41 +01:00
jzmaddock
d978d31117 Only include <utility> when we absolutely have to as it's not so lightweight in C++11. See https://github.com/boostorg/config/pull/40 2014-10-02 18:52:03 +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
04acb85f7a Update existing VC14 support with patches from https://svn.boost.org/trac/boost/ticket/10489 2014-10-02 17:46:49 +01:00
jzmaddock
16a4fc7f6a In preparation for GCC-5 and/or the deprecation of __GXX_EXPERIMENTAL_CXX0X__ refactor GCC configuration. 2014-09-24 19:27:40 +01:00
jzmaddock
8b174c0617 Update for Intel 15.0 2014-09-23 17:02:30 +01:00
jzmaddock
b32c1340b7 Update for Intel-15. 2014-09-22 11:31:41 +01:00
jzmaddock
94d0eaf177 Disable C++11 headers in non-C++11 mode. 2014-09-14 18:27:19 +01:00
Alain Miniussi
951e2b00dc Only define BOOST_COMPILE if not already done (as it is already the case for g++ and ms).
Usfull when called through nvcc.
fixes #10420
2014-09-01 15:41:23 +02: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
eec8085549 Fix BOOST_NO_CXX11_VARIADIC_TEMPLATES definition - the feature was introduced in GCC 4.4. 2014-08-23 09:38:02 +01:00
jzmaddock
053f0e420a Disable __int128 support on CUDA + Intel C++.
Fixes https://svn.boost.org/trac/boost/ticket/10369
2014-08-22 19:09:02 +01:00
jzmaddock
2662b12166 Disable <atomic> for Intel C++ as it can't yet parse the file. 2014-08-22 18:50:05 +01:00
jzmaddock
e659a7e487 Merge branch 'develop' of https://github.com/boostorg/config into develop 2014-08-22 17:40:52 +01:00
Andrey Semashev
05604f00d0 Merge pull request #1 from apolukhin/intel_fix
Define BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS for Intel Compiler.
2014-08-22 19:13:21 +04:00
Antony Polukhin
2abc483055 Define BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS even if BOOST_NO_CXX11_DEFAULTED_FUNCTIONS are not defined 2014-08-22 19:01:53 +04:00
Antony Polukhin
6a0c4aeb34 Fix a typo, while it is not too late 2014-08-22 18:44:16 +04:00
Andrey Semashev
0df91c0665 Enabled non-public defaulted functions for gcc 4.4 as it passed the test. 2014-08-21 16:45:18 +04:00
Andrey Semashev
be328aa19b Make BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS defined when BOOST_NO_CXX11_DEFAULTED_FUNCTIONS is defined.
Lack of non-public defaulted functions is implied by the lack of any defaulted functions, so define the defect macro.
2014-08-21 15:20:30 +04:00
jzmaddock
ef0fbe981a Full final keyword is present from vc11 not vc10, see http://msdn.microsoft.com/en-us/library/vstudio/hh567368%28v=vs.110%29.aspx 2014-08-20 18:25:02 +01: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
jzmaddock
a49bdd43c0 Merge branch 'final' of https://github.com/K-ballo/config into develop 2014-08-19 18:01:25 +01:00
jzmaddock
81acb3f788 Change detection logic for optional feature BOOST_HAS_PRAGMA_DETECT_MISSMATCH to match the way we've done these in the past. 2014-08-19 17:58:48 +01:00
jzmaddock
3138b2b747 We don't need to check for Apple if we've already tested that this is in MSVC emulation mode. 2014-08-19 17:57:56 +01:00
jzmaddock
c2f8e6adf6 Merge pull request #28 from apolukhin/develop
Added BOOST_HAS_PRAGMA_DETECT_MISSMATCH macro
2014-08-19 17:53:53 +01:00
Antony Polukhin
2c0d0ed559 Define BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS for Intel 2014-08-18 21:01:37 +04:00
Antony Polukhin
6ea485e9f1 Fix BOOST_HAS_PRAGMA_DETECT_MISSMATCH detection for Clang 2014-08-18 20:35:42 +04:00