Commit Graph

725 Commits

Author SHA1 Message Date
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
jzmaddock
ceae87e4c0 Update VS/CLR support.
Fixes: https://github.com/boostorg/config/issues/467
2023-01-13 19:23:21 +00:00
Peter Dimov
ebaf02e31b Define BOOST_NO_CXX11_ALIGNOF in boost/config/compiler/*.hpp 2022-11-21 19:50:11 +02:00
Peter Dimov
73cc60c503 Update BOOST_COMPILER_VERSION for msvc-14.3 2022-11-09 14:49:18 +02: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
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
jzmaddock
0c21be0407 Correct two phase lookup config for msvc-14.3. 2021-11-23 19:22:21 +00:00
jzmaddock
77df5deb6e Configuration update for msvc-2022. 2021-11-23 16:04:45 +00:00
John Maddock
2fdfd43e20 Fix for clang CUDA generation, fixes https://github.com/boostorg/config/issues/297 2021-09-26 18:58:49 +01:00
jzmaddock
cfc6545ce9 Merge pull request #385 from boostorg/pr/boost-clang-version
Add BOOST_CLANG_VERSION macro
2021-07-06 12:48:31 +01:00
Peter Dimov
8595667b36 Fix spelling of __APPLE__ 2021-07-04 20:02:20 +03:00
Peter Dimov
f6fdfb9291 Define BOOST_CLANG_VERSION 2021-07-04 18:49:01 +03:00
Michel Zou
98c3ac8158 Allow thread_local on mingw with gcc>=11 2021-06-09 15:36:20 +02:00
Brandon Castellano
b3a05cc9aa Add feature test macros for C++11 features. 2021-03-11 22:04:00 -05:00
jzmaddock
f460031312 Add broad scope feature checks. 2021-03-03 17:00:24 +00:00
Andrey Semashev
6eb97fb526 Updated the comment about no alignas support in gcc 4.8.
The compiler does not support constant expressions that depend on template
parameters.
2021-01-26 12:49:24 +03:00
Edward Diener
dea5465f9e Changed the latest accepted value of __BORLANDC__ for when __CODEGEARC__ is not defined. 2020-05-03 16:24:55 -04:00
Edward Diener
c2e8598933 Documented the basic Embarcadero macros. I did not document the extended Embarcadero macros beginning with BOOST_EMBTC_ but I did define them all to the value of 1 whereas before they were just defined to an empty value. 2020-05-01 18:51:49 -04:00
Edward Diener
3e9a8d9fcd Atomic exchange for 16 bytes does not work for Embarcadero C++ clang-based compilers. 2020-04-17 05:49:29 -04:00
jzmaddock
0f1850cc1d Merge pull request #330 from eldiener/develop
Turn off 128-bit integer for Embarcadero C++ clang-based compilers. U…
2020-04-15 19:18:21 +01:00
Edward Diener
869cc06e30 Turned off 128 bit float for Embarcadero and updated 128 float test. 2020-04-11 15:00:14 -04:00
Edward Diener
2dcb3f09c0 Turn off 128-bit integer for Embarcadero C++ clang-based compilers. Update the test for 128-bit integers. 2020-04-11 12:41:56 -04:00
Glen Fernandes
c6817bf70e Implement BOOST_OVERRIDE 2020-04-09 16:22:41 -04:00
Edward Diener
221273f1a0 Move version check to the front. 2020-04-05 17:30:25 -04:00
Edward Diener
2c70a870d9 Embarcadero C++ clang-based compilers have chdir and dup2 but not _chdir and _dup2. 2020-04-05 15:56:42 -04:00
Edward Diener
e680a13d8a Removed unnecessary changes. Corrected spelling mistake in a comment. 2020-04-05 01:04:18 -04:00
Edward Diener
efaceea8c3 Updated configuration for Embarcadero C++ clang-based compilers. Created a better test for CWCHAR compatibility which involves a minimum of multi-byte character functionality also. 2020-04-03 20:53:01 -04:00
jzmaddock
687c9e80c9 Merge branch 'develop' into develop 2020-03-25 09:49:57 +00:00
Edward Diener
a592d243c6 Fix for Issue about config-link-test. Added some code for making sure BOOST_NO_EXCEPTIONS is defined if it needs to be. 2020-03-21 18:49:15 -04:00
Edward Diener
f9e74d8a12 Updated configuration for Embarcadero clang based compilers 2020-03-20 12:29:35 -04:00
Edward Diener
aa90bfdb4a Support for Embarcadero clang-based C++ compilers in Boost Config. 2020-03-18 20:23:04 -04:00
Andrey Semashev
c3f81f3c70 Increase gcc version to 4.9 for alignas.
gcc 4.8 is known to not support alignas with constant expressions.
2020-03-01 17:07:46 +03:00
Edward Diener
41665c1317 Added define BOOST_NO_CXX11_UNRESTRICTED_UNION for CodeGear. 2019-12-16 19:00:31 -05:00
Edward Diener
e12c350455 VC++ below 14.0 does not support the full C++11 unrestricted unions spec. 2019-12-14 18:06:07 -05:00
Edward Diener
4fdd8bf833 Changed from boost_no_union_static_data to boost_no_cxx11_unrestricted_union, in both files and macro name. Implemented extended functionality for user-defined classes with non-trivial special member functions in test. 2019-12-11 21:58:12 -05:00
Edward Diener
4031128717 Added defect macro BOOST_NO_CXX11_UNION_STATIC_DATA for compilers which do not support unions with static data. 2019-12-11 00:33:25 -05:00
jzmaddock
b97ab76eae Big clean up to fix issues identified by the inspect program.
Regenerate docs.
2019-08-20 18:51:17 +01:00
jzmaddock
dcc6fccd8e Merge pull request #268 from Kojoley/patch-2
Lift thread local ban for 64bit MinGW
2019-04-01 19:13:58 +01:00
jzmaddock
1d09aace31 Add comment on last change
[CI SKIP]
2019-04-01 18:26:43 +01:00
jzmaddock
e27ecad25e Fix BOOST_NO_CXX17_HDR_STRING_VIEW and BOOST_NO_CXX17_HDR_OPTIONAL for msvc and clang/msvc. 2019-04-01 18:23:26 +01:00
Nikita Kniazev
5b9a7ac526 Missing semicolon in BOOST_UNREACHABLE_RETURN(x) 2019-04-01 17:53:33 +03:00
Nikita Kniazev
2af0a97e4f Expand BOOST_UNREACHABLE_RETURN to __assume(0) on MSVC 2019-03-31 16:07:14 +03:00
Nikita Kniazev
e9e3129524 Lift thread local ban for 64bit MinGW
The problem seems affect only 32bit compilers.
2019-03-30 18:11:19 +03:00
jzmaddock
cb01bd379f Merge pull request #267 from Kojoley/patch-1
__builtin_unreachable was introduced in GCC 4.5
2019-03-30 11:08:20 +00:00
Nikita Kniazev
a2bf626b54 __builtin_unreachable was introduced in GCC 4.5
https://godbolt.org/z/7oXS2i
2019-03-26 00:41:31 +03:00
Thomas Kent
354b02cd2b Tried with the latest RC 2019-03-21 21:05:22 -05:00
Thomas Kent
84e1f00b14 Support for Visual Studio 2019, vc142 toolset. 2019-03-20 07:32:07 -05:00
jzmaddock
778ceed6f0 Tentatively enable __float128 support for clang 2019-02-08 19:09:07 +00:00