Commit Graph
74 Commits
Author SHA1 Message Date
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 7d41f597cb Tentative fix for clang-3.0 failing config_test:
It appears not to completely support variadic template expansion.
2017-06-14 19:42:21 +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
Glen Fernandes 041bf1ee1f Define BOOST_NO_CXX11_SFINAE_EXPR in C++98 clang
When compiling in pre-C++11 clang mode it should be defined
2017-02-20 11:30:56 -05:00
Minmin Gong 328f0f40c8 Fix a compiling problem under ClangC2. 2017-02-05 15:50:33 -08:00
jzmaddock 4fc32ad70a Add support for C++11 thread_local. 2016-07-02 09:09:19 +01:00
jzmaddock 534ee17f3f Fix previous commit! 2016-03-31 09:08:54 +01:00
jzmaddock 743dc92612 Don't use __is_identifier unless it's actually defined. 2016-03-30 19:36:22 +01:00
jzmaddock f84f27c366 Update for clang on Windows:
Enables __int64 when available.
Enables stdint.h when available.
Enables log1p/expm1 when available.
Enables char16_t and char32_t when available.
2016-03-26 19:09:44 +00:00
Axel Huebl 73ee4f5b03 int128 & CUDA C++03: Update ICC and Clang 2015-12-18 11:41:56 +01:00
jzmaddock 05d55111e4 Apply patch for clang from https://svn.boost.org/trac/boost/ticket/11833 2015-12-08 08:58:29 +00:00
jzmaddock a2616b4f3f Merge branch 'develop' of https://github.com/boostorg/config into develop 2015-09-16 18:28:04 +01:00
jzmaddock a17884f425 Add support for __unreachable_return on clang and GCC.
See https://svn.boost.org/trac/boost/ticket/11661.
2015-09-16 18:27:48 +01:00
morinmorin 2656ae42d4 Guard attribute names with double underscores. 2015-09-03 19:02:48 +09:00
morinmorin cdcb3fc1aa Remove the detection code for 'unused' attribute on Clang. 2015-09-03 18:32:02 +09:00
Nicolas Cornu 034817c492 Use __has_attribute instead of gcc version in clang 2015-08-27 14:09:55 +02:00
morinmorin 70096c5d80 Remove __has_extension checks for features that are not available as extensions.
For those features, `__has_extension` checks are equivalent to `__has_feature` checks and thus they are unnecessary.
2014-10-26 21:06:49 +09:00
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 f9bfac1297 Fix broken <atomic> with clang, tentatively fix clang number separator option. 2014-10-12 13:20:11 +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 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
Antony Polukhin 6a0c4aeb34 Fix a typo, while it is not too late 2014-08-22 18:44:16 +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
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
Antony Polukhin 6ea485e9f1 Fix BOOST_HAS_PRAGMA_DETECT_MISSMATCH detection for Clang 2014-08-18 20:35:42 +04:00
Antony Polukhin 3087b80a77 Added BOOST_HAS_PRAGMA_DETECT_MISSMATCH macro 2014-08-11 15:11:38 +04:00
Andrzej Krzemienski d205efbb1b Added macro BOOST_NO_CXX11_REF_QUALIFIERS 2014-05-28 17:33:28 +02:00
Edward Diener 86ca46f142 Workaround for older versions of clang. 2013-12-16 08:08:53 -05:00
Edward Diener deedcb848f Clang using VC++ RTL currently does not support char16_t or char32_t
[SVN r86675]
2013-11-13 12:23:33 +00:00
Tim Blechmann 1a1d2f17eb config: clang - detect support for int128
[SVN r86497]
2013-10-28 10:06:20 +00:00
Andrey Semashev 23579c60d2 Added BOOST_NO_CXX11_INLINE_NAMESPACES and BOOST_NO_CXX11_TRAILING_RESULT_TYPES macros. Also corrected some tests that were using outdated testcase namespaces.
[SVN r84873]
2013-06-22 12:23:09 +00:00
Andrey Semashev 75d100a4ac Added BOOST_HAS_PRAGMA_ONCE for compilers that support it. The macro was already defined for DMC, but not for other compilers and was not documented.
[SVN r84796]
2013-06-15 16:40:46 +00:00
Andrey Semashev 1c3d02c469 Added BOOST_NO_CXX11_ALIGNAS, BOOST_ALIGNMENT and BOOST_NO_ALIGNMENT macros.
[SVN r84794]
2013-06-15 13:48:07 +00:00
Andrey Semashev f419d4ffd5 Added BOOST_NOINLINE, BOOST_LIKELY and BOOST_UNLIKELY macros.
[SVN r84679]
2013-06-07 20:05:18 +00:00
John Maddock 9cfe4710d7 Add new macro BOOST_NO_CXX11_USER_DEFINED_LITERALS.
Regenerate tests and docs.

[SVN r84074]
2013-04-28 18:11:43 +00:00
John Maddock bffa0772d8 Apply patch from #8408.
Fixes #8408.

[SVN r83958]
2013-04-18 17:50:17 +00:00
John Maddock 16c1d684c0 Apply patch from 7452.
Refs #7452.

[SVN r83009]
2013-02-19 16:33:14 +00:00
Michel Morin d53238e902 Adding BOOST_SYMBOL_EXPORT and BOOST_SYMBOL_IMPORT; fixes #7559
[SVN r81068]
2012-10-26 16:23:45 +00:00
Michel Morin 3fd02775bb Adding BOOST_SYMBOL_VISIBLE macro; refs #7559
[SVN r81052]
2012-10-24 00:24:06 +00:00
Beman Dawes 043059d96b Add BOOST_NO_CXX11_RANGE_BASED_FOR macro. Fix a bunch of .ipp files with incomplete _cxx11 name changes.
[SVN r79404]
2012-07-10 19:10:08 +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
Michel Morin e8f9424ec5 Fix clang's config:
* `typeid` is useless when `-fno-rtti` is turned on.
* Protect `BOOST_NO_RTTI` and `BOOST_NO_TYPEID` from redefinition, as done for `BOOST_NO_EXCEPTIONS`.

[SVN r78510]
2012-05-19 12:20:31 +00:00