205 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
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
jzmaddock
f460031312 Add broad scope feature checks. 2021-03-03 17:00:24 +00:00
Glen Fernandes
c6817bf70e Implement BOOST_OVERRIDE 2020-04-09 16:22:41 -04: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
jzmaddock
b97ab76eae Big clean up to fix issues identified by the inspect program.
Regenerate docs.
2019-08-20 18:51:17 +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
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
d229f9be96 Latest msvc seems OK with C++14 constexpr now. 2018-09-15 08:22:00 +01:00
jzmaddock
b420491e88 Add BOOST_NO_CXX17_HDR_STRING_VIEW. 2018-08-16 11:25:16 +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
Lauri Nurmi
024dbed67e Merge branch 'develop' into message-prefix 2018-07-12 09:42:07 +03:00
Lauri Nurmi
cdf41efdd3 Prefix "Unknown compiler version ..." messages with "boost:".
Makes it easier to figure out which library is outputing such messages
during compilation.
2018-07-12 09:33:40 +03:00
jzmaddock
29b754ed08 Merge pull request #216 from tzlaine/develop
Add BOOST_NO_CXX17_IF_CONSTEXPR.
2018-04-18 19:26:47 +01:00
jzmaddock
5ad0730630 visualc.hpp: Disable warning about outdated config. 2018-03-07 18:02:01 +00:00
Zach Laine
15d78e548f Add BOOST_NO_CXX17_IF_CONSTEXPR. 2018-03-06 17:44:52 -06:00
akrzemi1
3ec5a2b573 Added macro BOOST_NO_CXX11_DEFAULTED_MOVES 2018-01-04 00:58:32 +01:00
bitsrules
f6296c0495 Update to newest Visual Studio 2017 2017-12-13 14:58:09 +09:00
jzmaddock
4ba6b9d545 Config: Add file and line number info to visualc.hpp #pragma message. 2017-12-12 18:20:27 +00:00
jzmaddock
ae3c914e70 Merge pull request #198 from boostorg/msvc_15_5
Apply changes required by MSVC-15.5.
2017-12-12 10:00:24 +00:00
jzmaddock
1f86d51030 Config.MSVC-15.5: We still need to define BOOST_NO_TWO_PHASE_NAME_LOOKUP as we can't tell if /permissive- is in effect or not. 2017-12-11 19:27:07 +00:00
jzmaddock
464f30fe36 Config.MSVC-14.5: complete changes required, update appveyor.yml to test /permissive-. 2017-12-09 18:08:39 +00:00
jzmaddock
44e0d3ec75 Config.MSVC-14.5: complete configuration of new compiler features. 2017-12-09 18:02:33 +00:00
jzmaddock
e376809717 Config.msvc-15.5: enable some initial C++17 features. 2017-12-09 12:44:38 +00:00
jzmaddock
ac0cc94982 Config.MSVC-15.5: BOOST_NO_CXX11_SFINAE_EXPR no longer required in C++14 or later mode. 2017-12-08 20:01:39 +00:00
Olaf van der Spek
9efa768e30 Typo in visualc.hpp 2017-11-17 11:18:48 +01:00
jzmaddock
02888f5052 Merge pull request #179 from MarcelRaad/msvc1411
MSVC: 14.11 supports structured bindings in C++17 mode
2017-08-18 18:06:05 +01:00
Marcel Raad
b04ae6d7ab MSVC: 14.11 supports structured bindings in C++17 mode 2017-08-18 13:30:07 +02:00
jzmaddock
8c9e237f26 Improve outdated configuration / new compiler messages. 2017-08-17 17:51:48 +01:00
Minmin Gong
a0147b73e8 Update last known MSVC version to 19.11.25506 (VS2017.3). 2017-08-14 18:49:00 -07:00
Sergey Shandar
d23ba31dad Incorrect MSVC version detection
I know, Boost doesn't support MSVC 5.0 and 6.0. But the expression is invalid. Another way to fix it:
```c++
#   if _MSC_VER < 1300
      // Note: Versions up to 7.0 aren't supported.
#     define BOOST_COMPILER_VERSION 6.0
#   elif _MSC_VER < 1310
#     define BOOST_COMPILER_VERSION 7.0
```
2017-08-08 17:36:58 -07:00
jzmaddock
6f0c7dfb0c Merge branch 'develop' into msvc2017 2017-05-29 19:15:22 +01:00
jzmaddock
c08b859996 MSVC2017: Add appveyor testing.
Disable C++14 constexpr support as our tests don't pass.
2017-05-29 18:22:10 +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
jzmaddock
272ab4c69f There are no TR1 functions in C++17. 2017-04-15 19:19:46 +01:00
jzmaddock
0006275ddd Update compiler version names in visualc.hpp 2017-03-13 18:59:09 +00:00
jzmaddock
79ac4bdbeb Merge branch 'boost_no_cxx11_sfinae_expr' of https://github.com/glenfe/config into pr114
# Fixed Conflicts:
#	checks/Jamfile.v2
#	checks/test_case.cpp
#	test/all/Jamfile.v2
#	test/config_test.cpp

Also added some more documentation to tie together the various SFINAE macros.  Regenerated the docs.
2017-02-05 19:38:35 +00:00
Glen Fernandes
6e93ac5d72 Add BOOST_NO_CXX11_SFINAE_EXPR 2017-02-04 09:20:36 -05:00
jzmaddock
ab0fa3b3d7 Fix to get config_test passing with /clr or /clr pure and msvc.
See https://svn.boost.org/trac/boost/ticket/12713.
Note that /clr safe is still not supported - so much doesn't work it's hard to call it a C++ compiler in that case.
2016-12-27 19:34:05 +00:00