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
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
Richard Dale
437f334745
Update compiler/cray.hpp to support c++03 and both 8.5 and 8.6 releases.
...
modified: cray.hpp
2017-06-27 14:09:06 -05:00
Richard Dale
214c04f139
Update cray configuration for C++11.
...
Define BOOST_NO_CXX11_DECLTYPE_N3276 when __cplusplus < 201400.
This is for boost/variant.
2017-06-26 15:31:49 -05:00
Richard Dale
bfd7d04440
config/cray.hpp updated for release 8.6 of CCE (Cray Compiler Environment)
...
The default C++ standard support at this release is c++14, compared
with c++03 in previous releases.
modified: cray.hpp
2017-06-23 14:26:04 -05:00
rsd
e6deedfb33
Changed _RELEASE to _RELEASE_MAJOR. Mostly this is to test pushing to our fork. More to come.
2017-06-21 14:35:04 -05:00
jzmaddock
02dd07481d
Add link to bug report in comment.
...
[ci skip]
2017-06-15 17:54:41 +01:00
jzmaddock
d9332d3fa3
Restrict last fix to CUDA 8 only - other versions are apparently unaffected.
2017-06-15 17:53:14 +01:00
jzmaddock
9b8de65f1d
CUDA: disable some C++11 and 14 features which aren't supported when compiling as a .cu file.
2017-06-15 13:04:18 +01:00
jzmaddock
7d41f597cb
Tentative fix for clang-3.0 failing config_test:
...
It appears not to completely support variadic template expansion.
2017-06-14 19:42:21 +01:00
jzmaddock
fe5e07b521
gcc.hpp: Mingw has broken thread_local support.
...
See https://sourceforge.net/p/mingw-w64/bugs/527/
2017-06-14 19:32:59 +01:00
Glen Fernandes
62189d3b86
Add BOOST_FALLTHROUGH for gcc
2017-06-11 17:56:31 -04: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
7e1b05be28
Update for Pathscale from https://svn.boost.org/trac/boost/ticket/12193 .
2017-04-16 18:52:22 +01:00
jzmaddock
7d09af4555
Apply Diab compiler support from https://svn.boost.org/trac/boost/ticket/11655 .
2017-04-16 18:29:44 +01: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
86d6607582
Merge branch 'develop' of https://github.com/boostorg/config into develop
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2017-03-13 18:07:03 +00:00
jzmaddock
ed79ada80e
Merge branch 'z_OS_support' of https://github.com/pgroke-dt/config into develop
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2017-02-26 18:59:19 +00:00
Glen Fernandes
041bf1ee1f
Define BOOST_NO_CXX11_SFINAE_EXPR in C++98 clang
...
When compiling in pre-C++11 clang mode it should be defined
2017-02-20 11:30:56 -05:00
Minmin Gong
328f0f40c8
Fix a compiling problem under ClangC2.
2017-02-05 15:50:33 -08: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
c03303bdcb
Merge branch 'develop' of https://github.com/boostorg/config into develop
2016-12-27 19:34:21 +00: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
Andrey Semashev
ded49a9d32
Move BOOST_NO_CXX14_CONSTEXPR to the right section
...
- Define BOOST_NO_CXX14_CONSTEXPR only for the gcc-compatible version of Intel compiler (other versions untested). The previous definition was not in the correct preprocessor branch and the macro was not defined when it should have been.
- Increased the latest tested Intel compiler version to 17.
- Added comments to the preprocessor directives to simplify navigation in the file.
2016-12-27 20:38:05 +04:00
jzmaddock
2fd39f10cb
Intel appears not to support C++14 variable templates.
2016-12-15 10:37:11 +00:00
Andrey Semashev
6f0c359a4e
Disable C++14 constexpr for Intel compiler
...
Intel compiler up to version 17.0 (on Linux) makes constexpr member functions implicitly const-qualified.
2016-12-11 16:45:12 +04:00
jzmaddock
4b111941af
Merge pull request #101 from akumta/patch-6
...
Update sunpro_cc.hpp
2016-11-26 17:40:08 +00:00
akumta
fa7121c0fe
Update sunpro_cc.hpp
...
define BOOST_NO_CXX14_DECLTYPE_AUTO when C++14 standard is not in action
2016-11-23 08:17:25 -08:00
Marcel Raad
4749434d47
Update for Visual Studio 15 Preview 5 and RC
...
- Aggregate NSDMI and relaxed constexpr are supported
- _MSC_VER is 1910
2016-11-16 23:56:36 +01:00
jzmaddock
ccea02471c
Update for CUDA 8.0.
2016-10-29 09:37:32 +01:00
akumta
c4de2d0013
Update sunpro_cc.hpp
...
Update for ticket #11972
2016-09-06 10:13:11 -07:00
jzmaddock
65fa2a46f2
MSVC-14up3 doesn't support 2 phase name lookup after all.
...
Correct previous change.
2016-07-05 18:06:57 +01:00
jzmaddock
7c7c58417b
Enable constexpr support in VC14up3.
2016-07-04 18:03:05 +01:00
jzmaddock
ea80234d5f
Update visual C++ config for version 14 update 3.
2016-07-03 09:18:56 +01:00
jzmaddock
4fc32ad70a
Add support for C++11 thread_local.
2016-07-02 09:09:19 +01:00
Beman
4faca9e9e7
Add undocumented BOOST_MSVC_SFINAE_EXPR and BOOST_MSVC_CXX11_CONSTEXPR macros to ease testing of MSVC compiler updates
2016-04-30 15:03:15 -04:00
jzmaddock
534ee17f3f
Fix previous commit!
2016-03-31 09:08:54 +01:00
jzmaddock
743dc92612
Don't use __is_identifier unless it's actually defined.
2016-03-30 19:36:22 +01:00
jzmaddock
71214fe310
Update for VC12 and 14: allow use of native log1p/expm1.
2016-03-26 19:10:18 +00:00
jzmaddock
f84f27c366
Update for clang on Windows:
...
Enables __int64 when available.
Enables stdint.h when available.
Enables log1p/expm1 when available.
Enables char16_t and char32_t when available.
2016-03-26 19:09:44 +00:00
jzmaddock
77d86bcf16
Change #includes to use angle brackets.
...
See: https://svn.boost.org/trac/boost/ticket/11516 .
2016-03-12 17:14:11 +00:00
jzmaddock
2090da494e
Tentative fix for nvcc compiler.
...
See https://svn.boost.org/trac/boost/ticket/11897 .
2016-01-12 16:40:54 +00:00