2
0
mirror of https://github.com/boostorg/config.git synced 2026-01-20 04:22:27 +00:00
Commit Graph

1631 Commits

Author SHA1 Message Date
jzmaddock
9b8e3bcabb Add C++23 feature test macro support. 2023-10-13 19:11:46 +01:00
jzmaddock
dd7fa7f902 Update docs for C++23 macros.
[CI SKIP]
2023-09-10 10:32:26 +01:00
jzmaddock
ce665092fe Add C++23 header macros. 2023-09-09 19:20:12 +01:00
jzmaddock
015247ccd0 Add msvc support for [[maybe_unused]] attribute.
Fixes: https://github.com/boostorg/serialization/issues/271

Also removes failing cuda+clang test as it's an inscrutable system setup issue.
2023-08-25 18:54:49 +01:00
Marshall Clow
e11564fb3d Update version to 1.84.0 2023-08-11 10:17:26 -07:00
Marshall Clow
9953128bd4 Bump version to 1.83.0 2023-04-14 17:04:07 -07:00
Marcel Raad
1f4e789023 Dinkumware: disable C++ 98 binders without adaptor typedefs
When building with MSVC in C++ 20 mode with `_HAS_AUTO_PTR_ETC`
explicitly enabled, `std:bind1st` and `std::bind2nd` are unavailable
unless `_HAS_DEPRECATED_ADAPTOR_TYPEDEFS` is also explicitly enabled.
2023-01-21 14:04:19 +01:00
jzmaddock
ceae87e4c0 Update VS/CLR support.
Fixes: https://github.com/boostorg/config/issues/467
2023-01-13 19:23:21 +00:00
Yuriy Chernyshov
6614ccbef3 Modernize throw() specifiers 2022-12-30 20:35:22 +03:00
jzmaddock
e6cf358f57 Try Xcode-9.4.1 C++17 support. 2022-12-30 12:30:25 +00:00
jzmaddock
c3efdb4bb8 Add XCode 9.4.1 testing. (#463)
* Add XCode 9.4.1 testing.
Refs https://github.com/boostorg/config/issues/462.

* Disable nullptr and __int128 support on clang/XCode-9.1.

* Correct BOOST_HAS_INT128 undef option.

* Stop testing C++17 mode - it's not supported by the std lib.
2022-12-30 09:15:11 +00:00
Glen Fernandes
dbd0a4776d Bump versions to 1.82 2022-12-14 19:55:52 -05:00
Peter Dimov
ebaf02e31b Define BOOST_NO_CXX11_ALIGNOF in boost/config/compiler/*.hpp 2022-11-21 19:50:11 +02:00
jzmaddock
8c6226cafd Merge pull request #458 from boostorg/issue455
Clang should use _GLIBCXX_RELEASE
2022-11-20 19:45:51 +00:00
jzmaddock
2703431699 Clang should use _GLIBCXX_RELEASE
To determine libstdc++ version.
Fixes https://github.com/boostorg/config/issues/455
2022-11-20 18:33:13 +00:00
Peter Dimov
56e7a0e49d Add macro BOOST_MSSTL_VERSION 2022-11-16 22:12:57 +02:00
jzmaddock
5566315316 Expand BOOST_ATTRIBUTE_UNUSED [[maybe_unused]]
When available, supersedes: https://github.com/boostorg/config/pull/456
2022-11-16 18:57:05 +00:00
jzmaddock
72a2549a89 Merge pull request #454 from Flamefire/patch-1
Fix -Wundef for `_GLIBCXX_USE_DEPRECATED` on libstdc++ >= 4.6
2022-11-16 18:35:16 +00:00
jzmaddock
a16675b5a4 Merge pull request #453 from boostorg/feature/update-msvc-version
Update BOOST_COMPILER_VERSION for msvc-14.3
2022-11-16 18:34:45 +00:00
Alexander Grund
3a8ecbb390 Fix -Wundef for _GLIBCXX_USE_DEPRECATED on libstdc++ >= 4.6 2022-11-12 13:32:07 +01:00
Peter Dimov
73cc60c503 Update BOOST_COMPILER_VERSION for msvc-14.3 2022-11-09 14:49:18 +02:00
jzmaddock
5f089cc0aa GNU libstdc++3 _GTHREAD_USE_MUTEX_TIMEDLOCK is not used post gcc-6.
Fixes: https://github.com/boostorg/config/issues/399.
2022-11-06 18:45:30 +00:00
jzmaddock
2543ff1397 Merge pull request #445 from Lastique/patch-4
Add support for detecting libstdc++ 12
2022-10-05 17:49:43 +01:00
jzmaddock
902273e738 Merge pull request #442 from Lastique/feature/deprecated_symbols_markup
Add a BOOST_DEPRECATED macro for deprecated symbol markup
2022-10-05 13:26:35 +01:00
Jean-Michaël Celerier
ea08901984 Add a macro BOOST_DISABLE_EXPLICIT_SYMBOL_VISIBILITY to disable mandatory symbol visibility 2022-09-12 13:29:11 -04:00
Andrey Semashev
ebb95cbf86 Add support for detecting libstdc++ 12 2022-08-31 10:13:16 +03:00
Peter Dimov
5d6cf7a2eb Update Apple Clang versions 2022-08-29 20:18:02 +03:00
Peter Dimov
9eaeeb7844 Use __clang_patchlevel__ % 100, because __clang_patchlevel__ is 300080 for Android NDK r16b (refs boostorg/assert#28) 2022-08-29 20:13:53 +03:00
Andrey Semashev
a7a2d4ebf1 Added a BOOST_DEPRECATED macro for deprecated symbol markup.
BOOST_DEPRECATED can be used to mark functions, types and objects as
deprecated, with a message with a recommendation of replacement. Using
such marked symbols in code will generate compiler warnings, with the
specified message, if possible.

The warnings can be suppressed if BOOST_ALLOW_DEPRECATED_SYMBOLS is defined.
Additionally, added support BOOST_ALLOW_DEPRECATED macro that not only
allows for deprecated symbols but also deprecated headers (i.e. defining
BOOST_ALLOW_DEPRECATED is equivalent to defining both
BOOST_ALLOW_DEPRECATED_SYMBOLS and BOOST_ALLOW_DEPRECATED_HEADERS).
2022-08-14 16:15:51 +03:00
Glen Fernandes
e0638d9865 Bump versions to 1.81 2022-08-10 23:36:08 -04:00
jzmaddock
f0af4a9184 The std lib unary/binary_function base classes are deprecated/removed from libcpp15.
Fixes https://github.com/boostorg/container_hash/issues/24.
2022-07-11 18:26:34 +01:00
Andrey Semashev
cbc2f84709 Enabled C++17 CTAD guides for MSVC 14.14 (VS2017 Update 7) and later.
MSVC doesn't define the standard feature detection macros, so we have to
resort to compiler version checks.
2022-06-06 14:11:25 +03:00
jzmaddock
dad856418f Add BOOST_NO_CXX17_DEDUCTION_GUIDES.
Replaces https://github.com/boostorg/config/pull/414.
2022-06-05 16:59:35 +01:00
jzmaddock
485ecb42fa Merge pull request #431 from boostorg/pr/boost-nullptr
Add BOOST_NULLPTR helper macro
2022-06-05 12:50:15 +01:00
jzmaddock
424eb5f4ab Change HIP_VERSION to __HIP__
Fixes https://github.com/boostorg/config/issues/392.
2022-06-05 12:45:43 +01:00
Peter Dimov
663198ae92 Add BOOST_NULLPTR helper macro 2022-05-23 02:29:23 +03:00
jzmaddock
26a8d38031 unary_function is deprecated from C++11 onwards.
See https://github.com/boostorg/container_hash/issues/22.
2022-05-12 12:32:08 +01:00
jzmaddock
89ff6355e1 Define BOOST_NO_CXX98_FUNCTION_BASE for gcc-12 in C++17 mode or later.
Fixes: https://github.com/boostorg/container_hash/issues/22.
2022-05-10 18:03:38 +01:00
jzmaddock
2fb424497c Add gcc-11 and 12, plus clang-11, 12, 13 and 14 2022-05-10 17:56:56 +01:00
Glen Fernandes
c11afa5ffa Bump versions to 1.80 2022-04-13 21:36:02 -04:00
jzmaddock
a8d36011e7 Merge pull request #415 from Lastique/feature/detect_libstdcxx_11
Add detection of libstdc++ from gcc 11
2022-03-06 11:21:50 +00:00
jzmaddock
08dced51e9 Make checks for <version> C++ specific. 2022-02-24 11:38:17 +00:00
jzmaddock
53c87c192f Correct clang-win b2 invocation.
Make <version> always be included when available.
2022-02-04 09:03:48 +00:00
jzmaddock
8104280db6 Refactor C++20 header configuration.
Fixes: https://github.com/boostorg/config/issues/418
Fixes: https://github.com/boostorg/config/issues/420
2022-02-03 18:54:20 +00:00
jzmaddock
ef68c9d944 Add BOOST_NO_CXX20_HDR_VERSION.
Also fix some libcpp.hpp typos.
2022-02-03 18:22:24 +00:00
jzmaddock
d719bee32a Correct Dinkumware header detection to account for clang-cl.
Fixes https://github.com/boostorg/config/issues/417.
2022-02-03 12:55:34 +00:00
jzmaddock
51b257645d Correct spelling of <source_location>
Fixes https://github.com/boostorg/config/issues/416.
2022-02-03 12:54:25 +00:00
Andrey Semashev
d39021ce28 Added detection of libstdc++ from gcc 11. 2022-01-21 00:39:29 +03:00
jzmaddock
faa3bda19b Correct not quite corrected SNAFU. 2021-12-09 16:32:48 +00:00
jzmaddock
8d7d3f978f Correct merge SNAFU. 2021-12-09 16:29:52 +00:00