1690 Commits

Author SHA1 Message Date
Marshall Clow
b8fe4fe5e0 Bump version number to 1.66 2017-08-10 16:34:53 -07:00
Brian Kuhl
994e3cbba1 VxWorks is also using ::intptr_t in boost namespace 2017-08-10 12:40:22 -04: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
Marshall Clow
186a7316b9 Fix copy-paste-o
Now checks `_LIBCPP_ENABLE_CXX17_REMOVED_BINDERS` instead.
2017-08-07 06:11:30 -07:00
Marshall Clow
b2ee38f94b Add code to set for BOOST_NO_CXX98_RANDOM_SHUFFLE and BOOST_NO_CXX98_BINDERS correctly 2017-08-06 17:53:56 -07:00
jzmaddock
d0dab31612 Merge pull request #170 from dkolsen-pgi/pgi-compiler-support2
Update PGI C++ compiler support
2017-08-01 18:12:06 +01: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
David Olsen
dd31807230 Update PGI C++ compiler support
Remove an old PGI-specific workaround for intptr_t.  The workaround is no longer necessary and now causes compilation errors.
2017-07-26 13:10:10 -07:00
jzmaddock
8f09bc2846 Merge pull request #161 from Lastique/no_cxx17_std_iterator_traits
Add BOOST_NO_CXX17_ITERATOR_TRAITS macro.
2017-07-21 19:40:17 +01:00
Andrey Semashev
34f320c4c9 Added BOOST_NO_CXX17_ITERATOR_TRAITS macro.
The macro indicates that the standard library does not implement SFINAE-friendly
std::iterator_traits (LWG issue 2408, [iterator.traits]/2).
2017-07-12 20:37:47 +03: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
Peter Dimov
6098c81ee0 Use architecture and address model in autolink, instead of just address model 2017-07-07 02:56:46 +03:00
Peter Dimov
80fb8000f0 Add address model to auto_link.hpp 2017-06-30 20:57:59 +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
0324c92e5c Merge pull request #155 from boostorg/issue13045
Allow stdint.h for compilers other than gcc when building on linux wi…
2017-06-21 14:44:53 +01: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
jzmaddock
0debb6db2f Allow stdint.h for compilers other than gcc when building on linux with a recent glibc version.
See https://svn.boost.org/trac/boost/ticket/13045.
2017-06-12 19:38:54 +01:00
Glen Fernandes
2dfd1a95ba Move workaround.hpp out of detail (used by more than Config) 2017-06-12 07:57:34 -04: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
ecd1c79fd0 Merge pull request #134 from glenfe/develop
Add BOOST_NO_CXX11_POINTER_TRAITS library defect detection
2017-05-20 11:30:15 +01:00
jzmaddock
b73cb38a43 Merge pull request #136 from mclow/patch-2
define BOOST_NO_AUTO_PTR when building with libc++ and C++17
2017-05-20 11:28:11 +01:00
jzmaddock
f5afbf8e27 Merge pull request #135 from DanielaE/fix/dinkumware-v650-apply
The library implementations in MSVC 14.0 and 14.1 have both version n…
2017-05-20 11:27:23 +01:00
Marshall Clow
0df7552f38 define BOOST_NO_AUTO_PTR when building with libc++ and C++17
New libc++ versions remove `std::auto_ptr` when building as C++17, unless the magic tag `_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR` is defined. Tell the rest of Boost that there's no `auto_ptr` in that case.
2017-05-19 12:22:13 -06:00
John Maddock
cd396b619a Clang 3.x can't parse <chrono> from gcc-4.6 and earlier. 2017-05-19 19:18:40 +01:00
Glen Fernandes
219c351cb4 Add BOOST_NO_CXX11_POINTER_TRAITS 2017-05-19 13:29:52 -04:00
jzmaddock
40f4e6ed2f Disable <chrono> for older clang versions. 2017-05-19 18:11:29 +01:00
Daniela Engert
15a0c119a1 The library implementations in MSVC 14.0 and 14.1 have both version number V6.50:0009, and therefore _CPPLIB_VER defined to 650. But the library in 14.0 does *not* have std::apply whereas the one in 14.1 *does*.
Signed-off-by: Daniela Engert <dani@ngrt.de>
2017-05-19 16:06:39 +02:00
John Maddock
6d7592091c When using clang + libstdC++ not all C++11 features are necessarily available 2017-05-19 13:38:02 +01:00
John Maddock
0b508cb2c9 noreturn attribute is apparently not supported by Oracle 12.4 2017-04-27 17:22:18 +00:00
jzmaddock
2bc27c752c Merge branch 'develop' of https://github.com/boostorg/config into develop 2017-04-26 19:43:28 +01:00
jzmaddock
19766b0a0e Older Oracle Solaris compiles have no ::intptr_t.
Defer to whether INTPTR_MAX is defined or not on sun whenever <stdint.h> is available.
2017-04-26 19:43:11 +01:00
Rene Rivera
912ebda1ca Bump to 1.65.0. 2017-04-23 22:11:56 -05:00
jzmaddock
0e364efe0b Add more macros for removed std lib features:
BOOST_NO_CXX98_FUNCTION_BASE
BOOST_NO_CXX98_BINDERS
Added new documentation section for features that have been removed from the standard.
2017-04-17 18:41:44 +01:00
Daniela Engert
f3cea5a8e4 Introduce feature-test macro BOOST_NO_CXX98_RANDOM_SHUFFLE
The algorithm std::random_shuffle was marked as deprecated in C++14 and is removed from the upcoming C++17 standard. The name itself is still reserved and library implementations may continue to ship it. In this sense, support for std::random_shuffle must be regarded as purely optional and a feature-test macro is required to test for its presence.

Signed-off-by: Daniela Engert <dani@ngrt.de>
2017-04-17 13:48:08 +02:00
jzmaddock
8acd1c464d If we have INTPTR_MAX then presumably we have intptr_t.
See https://svn.boost.org/trac/boost/ticket/12853.
2017-04-16 19:41:36 +01:00
jzmaddock
fc1f603143 Prevent macro re-definition in cstdint.hpp.
See https://svn.boost.org/trac/boost/ticket/12786.
2017-04-16 19:31:25 +01:00
jzmaddock
8037ff436b Use inline functions not macros for workarounds for missing functions.
See https://svn.boost.org/trac/boost/ticket/12501.
2017-04-16 19:22:19 +01: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