Commit Graph
56 Commits
Author SHA1 Message Date
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
Michel Morin 5e8f4347fd Use a newly added querying macro for BOOST_NO_DECLTYPE_N3276 on clang.
[SVN r77934]
2012-04-12 13:10:47 +00:00
Michel Morin 9e23fbc66f Clang now has a querying macro for BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS. Use this querying macro and remove version checks.
[SVN r77752]
2012-04-04 14:20:14 +00:00
Michel Morin 6074729601 Appease clang for BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS.
The use of a version check to determine the feature support is not recommended in clang. But we do the version check, since clang does not have a querying macro for this feature. This is an unfortunate workaround. We need to observe carefully the effect of the version check on vendor versions of clang (other than the LLVM project's clang).

[SVN r77649]
2012-03-30 17:47:34 +00:00
Michel Morin 33437e724e Avoid redefinition of BOOST_NO_EXCEPTIONS; fixes #6740
[SVN r77643]
2012-03-30 12:51:49 +00:00
Lorenzo Caminiti 85751c6911 Added BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS macro to Boost.Config, updated tests and docs.
(Plus I had to run dos2unix on auto generated config_info.cpp because of "inconsistent line ending" SVN error...)

[SVN r77457]
2012-03-21 17:32:36 +00:00
John Maddock 9150db8f0f Apply Michel Morin's decltype patch.
[SVN r77256]
2012-03-07 09:28:11 +00:00
Marshall Clow 66d9f7dc00 Deprecate all the 'BOOST_NO_OX_*' macros in favor of 'BOOST_NO_CXX11_*' versions. Update tests. Old macros remain for compatibility (for the nonce)
[SVN r77194]
2012-03-04 03:00:49 +00:00
Marshall Clow 139bd2213b Deprecate BOOST_NO_INITIALIZER_LISTS; use BOOST_NO_0X_HDR_INITIALIZER_LIST instead
[SVN r77157]
2012-03-03 00:34:17 +00:00
John Maddock 8e51b05e1f Set BOOST_HAS_LONG_LONG for Clang in case it doesn't get auto-detected later.
Fixes #6636.

[SVN r77147]
2012-03-01 11:34:44 +00:00
John Maddock 2301e858aa Apply Michel Morin's Clang patch.
[SVN r75214]
2011-11-01 18:17:54 +00:00
Eric Niebler 1c37e1a994 add BOOST_NO_DECLTYPE_N3276 config macro
[SVN r72327]
2011-06-01 14:51:03 +00:00
John Maddock 37b4152dc5 Add new config macro: BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX.
Fixes #4867.

[SVN r71840]
2011-05-09 11:36:39 +00:00
John Maddock c5a77c1521 Apply BOOST_NO_NOEXCEPT patch from Takaya Saito.
[SVN r71737]
2011-05-05 11:55:46 +00:00
John Maddock 03877f5805 Remove std::concept test macros since these are no longer part of the std.
Update GCC C++0x support.
Improve the tests for C++0x support.
Regenerate the docs.
Update generation program to Boost.Filesystem v3.


[SVN r70001]
2011-03-15 13:17:46 +00:00
Douglas Gregor 66b9affdd8 Update Clang configuration to reflect improved C++0x support in Clang.
[SVN r68659]
2011-02-05 20:39:52 +00:00
John Maddock 1a1ed6f02a Apply patches for BOOST_NO_VARIADIC_MACROS supplied by Edward Diener.
[SVN r64858]
2010-08-17 10:19:29 +00:00
Douglas Gregor 9a30ee0146 Clang passes all value-initialization tests now
[SVN r62950]
2010-06-14 21:18:57 +00:00
Beman Dawes d4a9554db0 Major upgrade to Boost.Config symbol visibility macros for shared libraries, based on patches from Jürgen Hunold with mods by Beman Dawes. Upgrade Boost.System to use the new visibility macros. Fixes #3697 and provides foundation for fixing 2114, 2309, etc.
[SVN r62140]
2010-05-22 12:12:00 +00:00