71 Commits
Author SHA1 Message Date
jzmaddock 8dcea4d78c Add version check for C++17 features in suffix.hpp
Fixes https://github.com/boostorg/config/issues/287.
2019-10-29 09:29:04 +00:00
Hans Dembinski d32f9c5864 fixes warning in clang-6 2019-10-19 14:02:08 +02:00
Andrey Semashev 2fa0a0bd52 Added BOOST_FINAL macro. 2019-10-14 21:20:33 +03:00
Andrey Semashev 38df8ca0d7 Added BOOST_INLINE_VARIABLE macro.
The BOOST_INLINE_VARIABLE macro can be used to mark C++17 inline variables in
contexts where omitting the inline keyword is still acceptable on older
compilers.

This commit also adds the missing docs for BOOST_NO_CXX17_INLINE_VARIABLES.
2019-10-02 17:20:08 +03:00
jzmaddock 8d58766c7b gcc: exclude attribute definition for gcc in C++03 mode.
Even though __has_attribute reports true for gcc-9.
2019-06-28 08:32:47 +01: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
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 b420491e88 Add BOOST_NO_CXX17_HDR_STRING_VIEW. 2018-08-16 11:25:16 +01:00
jzmaddock fb9957101f Correct use of __has_include in suffix.hpp. 2018-08-04 19:35:11 +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 d9d5ece1c8 Revert "BOOST_STATIC_CONSTANT should use constexpr"
This reverts commit 51f1178921.
2018-03-18 10:53:41 +00:00
Nikita Kniazev 51f1178921 BOOST_STATIC_CONSTANT should use constexpr 2018-02-24 20:17:36 +03:00
Andrzej Krzemieński 0d0211e4d5 comment typeo fix 2018-01-11 21:21:20 +01:00
akrzemi1 3ec5a2b573 Added macro BOOST_NO_CXX11_DEFAULTED_MOVES 2018-01-04 00:58:32 +01: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
David Olsen 4f1df700ad Update PGI C++ compiler support
When the PGI C++ compiler changed to be GNU compatible, pgi.hpp stopped being used, because the check for __GNUC__ in select_compiler_config.hpp was true before the preprocessor ever got to the check for __PGI.  Rearrange the order of the checks in select_compiler_config.hpp, moving the check for __PGI above the check for __GNUC__.

pgi.hpp was designed for a very old version of PGI C++, before it was GNU compatible.  The settings in that file won't work for PGI compilers of the last few years.  Replace the entire file with one that just includes gcc.hpp and then adjusts a few macros for areas where PGI is not quite GNU compatible.  (The old PGI compilers are not actively being used by any customers that we (PGI) know of, so keeping the old contents of pgi.hpp would be of little or no benefit.)
2017-07-27 14:49:09 -07: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
John Maddock 0b508cb2c9 noreturn attribute is apparently not supported by Oracle 12.4 2017-04-27 17:22:18 +00:00
jzmaddock 3fbf51f31a Move private headers into detail directory.
See https://svn.boost.org/trac/boost/ticket/12328.
2017-04-16 19:12:59 +01:00