Commit Graph

1465 Commits

Author SHA1 Message Date
Marcel Raad
b04ae6d7ab
MSVC: 14.11 supports structured bindings in C++17 mode 2017-08-18 13:30:07 +02:00
jzmaddock
bb22ab3c5f Update sunpro_cc.hpp 2017-08-18 08:04:06 +01: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
jzmaddock
17a4997aaa Update for CUDA version macro changes. 2017-08-11 19:38:00 +01:00
jzmaddock
b57df2a3c4 Merge pull request #174 from mclow/patch-3
Bump version number to 1.66
2017-08-11 19:23:34 +01:00
jzmaddock
a4815b04af Merge pull request #173 from kuhlenough/develop
VxWorks is also using ::intptr_t in boost namespace
2017-08-11 19:23:06 +01:00
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
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
3eff8788b1 Apply VXWorks patch from https://svn.boost.org/trac/boost/ticket/11653 2017-04-16 18:22:44 +01:00
jzmaddock
272ab4c69f There are no TR1 functions in C++17. 2017-04-15 19:19:46 +01:00
Daniela Engert
4c3433434f vc++ 19.10 has std::apply if enabled by /std:c++latest
Signed-off-by: Daniela Engert <dani@ngrt.de>
2017-04-07 18:00:00 +02:00
Thomas Kent
6611d45398 Using 141 instead of 1410 2017-03-19 08:48:11 -05:00
Thomas Kent
953114b284 VS2017 version used in other places is vc1410 2017-03-16 18:57:02 -05:00
jzmaddock
0006275ddd Update compiler version names in visualc.hpp 2017-03-13 18:59:09 +00:00
jzmaddock
d5c2dbae38 Fix library name for VC14.1 (Visual Studio 2017) 2017-03-13 18:58:28 +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
jzmaddock
7a78d997d0 Fixes for various clang versions: clang-5 didn't like the comparison used for testing nl_type.h, other clang versions look for ::gets even though libstdc++ doesn't define it 2017-02-26 13:01:11 +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
jzmaddock
438520d1fd Cygwin appears not to have sigaction all the time after all. 2017-02-05 19:00:45 +00:00
jzmaddock
329b4c17f0 Merge branch 'restrict_support' of https://github.com/jfalcou/config into restrict_keyword
Add test case for boost_no_restrict_references.
Regenerate tests.
Tested msvc-10 - 14, intel 17, gcc-5.3.0.
2017-02-05 19:00:04 +00:00
jzmaddock
2c34894d48 Merge branch 'restrict_support' of https://github.com/jfalcou/config into restrict_keyword
# 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-05 18:02:11 +00:00
Glen Fernandes
6e93ac5d72 Add BOOST_NO_CXX11_SFINAE_EXPR 2017-02-04 09:20:36 -05:00
jzmaddock
b44be22efc Merge pull request #110 from o01eg/develop
Use corrent name for libraries built with MS VS 2017 RC.
2017-02-04 13:22:16 +00:00
Glen Fernandes
c85095cf33 Support BOOST_GCC guards in BOOST_WORKAROUND 2017-02-02 13:46:39 -05:00
Jonathan Wakely
e21b1729cb Fix name of the library 2017-01-17 23:21:37 +00:00
O01eg
de5f166253
Use corrent name for libraries built with MS VS 2017 RC. 2017-01-05 21:18:31 +03:00
Marshall Clow
b49f658332 Update version.hpp to 1.64 2016-12-27 18:10:58 -08: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
54f108a006 MSVC compatible compilers may have __has_include but still set __cplusplus to obsolete versions numbers for MSVC compatibility (ie Intel). 2016-12-15 18:29:58 +00:00
jzmaddock
2fd39f10cb Intel appears not to support C++14 variable templates. 2016-12-15 10:37:11 +00:00
jzmaddock
25be5543ae libstdc++ has no std::exchange unless in C++14 mode. 2016-12-15 10:35:00 +00:00
jzmaddock
553dcbec96 MSVC has no std::apply. 2016-12-15 10:21:26 +00:00
jzmaddock
0a83dd7aa9 Merge pull request #107 from Lastique/patch-2
Disable C++14 constexpr for Intel compiler
2016-12-13 18:10:41 +00:00
Oliver Kowalke
13f5d9c88a defect macro for C++14 feature std::exchange() 2016-12-12 19:41:30 +01: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
Oliver Kowalke
68b7cc8759 defect macro for C++17 feature std::apply() 2016-12-11 12:25:53 +01:00
jzmaddock
d1c399f971 Clang/libc++ : Tentatively enable <array> and <forward_list> in C++03 mode. 2016-12-09 18:10:32 +00:00
jzmaddock
4b111941af Merge pull request #101 from akumta/patch-6
Update sunpro_cc.hpp
2016-11-26 17:40:08 +00:00
jzmaddock
780c29bf06 Merge pull request #99 from MarcelRaad/vs15p5
Update for Visual Studio 15 Preview 5
2016-11-26 17:38:47 +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
Marshall Clow
4fc6130781 BOOST_NO_CXX17_STD_INVOKE for libc++
Make sure that BOOST_NO_CXX17_STD_INVOKE is defined for C++03/11/14 builds.
2016-11-21 17:53:34 -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
jzmaddock
72116963c5 Correct #if code in last PR. 2016-10-20 19:41:09 +01:00
Oliver Kowalke
b20d7a811e use of <experimental/memory_resource> for clang detection
use <experimental/memory_resource> instead of <experimental/filesystem> to check for libstdc++ 6.1
2016-10-20 13:52:28 +02:00
Oliver Kowalke
350cfd5d82 use <experimental/filesystem> to test for version 6.1 (clang) 2016-10-20 08:59:51 +02:00
Oliver Kowalke
b0b52d6c75 defect macro for C++17 feature std::invoke() 2016-10-14 20:49:48 +02:00
Marshall Clow
eaf874e35d Update version number to 1.63 2016-09-28 09:54:03 -07:00
akumta
64780152fa For Oracle Developer Studio
__has_attribute to be used instead of __has_cpp_attribute, not remove the functionality.
2016-09-11 08:17:43 -07:00
Antony Polukhin
d4a4885ed9 Fix for undefined BOOST_NORETURN 2016-09-10 19:45:41 +03:00
jzmaddock
a094c078ad Merge pull request #93 from akumta/patch-4
Update sunpro_cc.hpp
2016-09-09 18:00:03 +01:00
John Maddock
b457022699 Workaround for broken __has_cpp_attribute in Oracle-12.5 compiler 2016-09-09 12:25:43 +00:00
akumta
c4de2d0013 Update sunpro_cc.hpp
Update for ticket #11972
2016-09-06 10:13:11 -07:00
jzmaddock
a9e325b2e0 Merge pull request #92 from apolukhin/better_noreturn
Detect [[noreturn]] attribute
2016-09-04 17:19:05 +01:00
John Maddock
dff5971974 Merge branch 'develop' of https://github.com/boostorg/config into develop 2016-09-04 16:04:46 +00:00
John Maddock
a17bb6c8da Update for Oracle 12.5, see issue #12425 2016-09-04 16:04:08 +00:00
Antony Polukhin
830192fc35 Detect [[noreturn]] attribute 2016-09-03 12:37:06 +03:00
jzmaddock
226bee3010 Older versions of libc++abi have no thread_local support. 2016-08-18 19:26:28 +01:00
jzmaddock
b24ad05ffe There is no pthread_yield on Android. 2016-08-18 18:24:24 +01: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
Daniel
a7620c98b5 Bump version for 1.62.0 2016-05-22 11:26:30 +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
9ea6b3fb49 Merge branch 'develop' of https://github.com/boostorg/config into develop 2016-03-12 17:14:30 +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
Kohei Takahashi
9018b7b58d Define BOOST_NO_AUTO_PTR when libstdcxx don't provide std::auto_ptr. 2016-02-29 19:48:49 +09: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
jzmaddock
6d46b18e3b Fix up std lib config for clang-3.8 and later 2016-01-03 14:12:01 +00:00
jzmaddock
b1df465870 Second try to get BOOST_NO_CXX11_HDR_ATOMIC set correctly.
See https://github.com/boostorg/config/pull/85#issuecomment-168313984
2016-01-01 16:01:16 +00:00
jzmaddock
af5351f42b <atomic> works in later libc++ releases.
See also https://github.com/boostorg/config/pull/85/files
2016-01-01 13:35:12 +00:00
Marshall Clow
f384d058f9 Update Version number to 1.61 2015-12-21 09:58:51 -08:00
Axel Huebl
73ee4f5b03 int128 & CUDA C++03: Update ICC and Clang 2015-12-18 11:41:56 +01:00
Axel Huebl
e5b21fb9b4 Refactor int/float128: NVCC -std=c++11
refactor the previous solution: nvcc with c++11 supports
__int128 and __float128
2015-12-18 11:41:33 +01:00
Axel Huebl
a332112317 Fix Trac 11852: GCC & CUDA __float128
Fix trac issue
  https://svn.boost.org/trac/boost/ticket/11852

Similar to
     https://svn.boost.org/trac/boost/ticket/8048

`__float128` is still unsupported when compiling with nvcc
(tested with `CUDA 7.5.18`). First noticed with the latest
release (`1.60.0`) and `GCC 4.8.5` but should affect all
previous releases depending on used modules.

In my case, I triggered it with the components
  `program_options regex filesystem system thread math_tr1`
enabled .
2015-12-18 10:31:00 +01:00
jzmaddock
05d55111e4 Apply patch for clang from https://svn.boost.org/trac/boost/ticket/11833 2015-12-08 08:58:29 +00:00
Joel Falcou
f020bec68a Provide BOOST_RESTRICT and BOOST_NO_RESTRICT_REFERENCES 2015-11-04 16:48:16 +01:00
jzmaddock
94a3bf4f12 Update to set BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE on MacOS. 2015-10-29 11:48:13 +00:00
jzmaddock
19f66e8992 VC7.1 requires BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS 2015-10-22 10:17:24 +01:00
jzmaddock
26c91920e2 Merge pull request #79 from akumta/patch-2
Update for C++ version 5.14
2015-10-04 17:22:42 +01:00
jzmaddock
cdc5750155 Merge pull request #80 from mauve/winrt-no-ansi-apis
Do not use Windows ANSI APIs when targetting WinRT
2015-10-04 17:21:15 +01:00
Mikael Olenfalk
ad3141cebd universal-windows: Dont use Windows ANSI APIs when compiling for winrt 2015-10-04 14:23:48 +02:00
akumta
85288108c0 Update for C++ version 5.14 2015-10-01 11:26:08 -07:00
jzmaddock
d0dbbc3d56 Merge branch 'master' of https://github.com/mauve/config into develop 2015-09-24 18:15:53 +01:00
Mikael Olenfalk
7d67f4171f Make cstdint.hpp work on QNX 6.6 2015-09-18 12:01:35 +02:00
jzmaddock
a2616b4f3f Merge branch 'develop' of https://github.com/boostorg/config into develop 2015-09-16 18:28:04 +01:00
jzmaddock
a17884f425 Add support for __unreachable_return on clang and GCC.
See https://svn.boost.org/trac/boost/ticket/11661.
2015-09-16 18:27:48 +01:00
jzmaddock
f23f3a4bb7 Merge pull request #75 from morinmorin/fix/guard_attribute_name
Guard attribute names with double underscores
2015-09-07 17:32:06 +01:00
Daniel James
c99044f492 Version bump 2015-09-05 21:34:42 +01:00
morinmorin
2656ae42d4 Guard attribute names with double underscores. 2015-09-03 19:02:48 +09:00
morinmorin
cdcb3fc1aa Remove the detection code for 'unused' attribute on Clang. 2015-09-03 18:32:02 +09:00
jzmaddock
2ee108b81f Merge pull request #71 from alkino/develop
Use __has_attribute instead of gcc version in clang
2015-09-01 17:52:37 +01:00
Ed Schouten
0070534348 Add basic platform bits for Nuxi CloudABI.
Nuxi CloudABI is a POSIX-like runtime environment purely built on the
principle of capability-based security[1]. It allows you to run
arbitrary untrusted binaries directly on top of a UNIX kernel without
compromising system integrity.

This change adds a basic platform configuration that defines a small set
of options that allow it to build most of the Boost sources. The next
step is to send out small fixes to individual libraries that don't build
yet.

[1] Nuxi CloudABI: https://github.com/NuxiNL/cloudlibc
2015-08-27 16:23:21 +02:00
Nicolas Cornu
034817c492 Use __has_attribute instead of gcc version in clang 2015-08-27 14:09:55 +02:00
jzmaddock
d05131f7e2 Merge branch 'develop' of https://github.com/boostorg/config into develop 2015-08-18 18:09:35 +01:00
jzmaddock
7b9e5f8d6b std::shared_ptr is only partly usable on Oracle, disable for now. 2015-08-18 18:09:15 +01:00
jzmaddock
5cc1746cab Merge pull request #70 from MarcelRaad/patch-3
Update for MSVC14's _HAS_AUTO_PTR_ETC
2015-08-18 12:17:46 +01:00
jzmaddock
b794a7162b Add float128_type typedef dimilar to int128_type. 2015-08-13 17:52:48 +01:00
jzmaddock
15fa6fd8b9 Add BOOST_HAS_FLOAT128 for compilers that support __float128 as a distinct type. 2015-08-13 17:13:32 +01:00
jzmaddock
a8f96e4b6e Intel should not set GCC and MSVC specific macros. 2015-08-12 19:47:56 +01:00
Marcel Raad
776bc8ac10 Update for MSVC14's _HAS_AUTO_PTR_ETC
If _HAS_AUTO_PTR_ETC is defined to 0, MSVC14's standard library implements C++17's N4190, thus removing std::auto_ptr.
2015-08-11 10:05:33 +02:00
jzmaddock
a66898d292 Disable <codecvt> for VC14 as it fails at link time when using the facets. 2015-07-27 09:23:25 +01:00
jzmaddock
d5839ad09b Enable <shared_mutex> support for VC14. 2015-07-25 13:23:33 +01:00
jzmaddock
dd26419a25 Add link to VC14 bug report. 2015-07-23 18:16:39 +01:00
jzmaddock
79950d0293 Remove unneeded comment. 2015-07-23 16:59:31 +01:00
jzmaddock
6b767b0e09 VC14 still has the value-initialization bug. 2015-07-23 09:53:39 +01:00
jzmaddock
e472f46438 Change intel.hpp to use the same config as the compiler it's emulating.
At least for Intel 15 and later.
2015-07-22 18:00:39 +01:00
jzmaddock
5bf05c9fbb Reinstate BOOST_NO_CXX11_CONSTEXPR for VC14 - support isn't quite there yet. 2015-07-22 17:59:45 +01:00
Beman
160de8b513 Remove BOOST_NO_CXX11_CONSTEXPR for VC++ 2015 RTM. See https://msdn.microsoft.com/en-us/library/hh567368.aspx#corelanguagetable and http://blogs.msdn.com/b/vcblog/archive/2015/06/19/c-11-14-17-features-in-vs-2015-rtm.aspx 2015-07-21 10:53:56 -04:00
jzmaddock
0bbfcc22f4 Merge pull request #68 from MarcelRaad/patch-4
Update for the VS14 RTM standard library
2015-07-21 11:50:10 +01:00
Marcel Raad
5dff05e8d9 Fix compiler version number in comment 2015-07-21 00:21:12 +02:00
Marcel Raad
16f491d48d Update for the VS14 RTM standard library
As mentioned by Stephan T. Lavavej here:
http://lists.boost.org/Archives/boost/2014/11/217698.php
BOOST_NO_CXX11_ADDRESSOF shouldn't be necessary anymore for MSVC 14 RTM. The unit test passes.
2015-07-20 19:58:59 +02:00
Marcel Raad
26258e676d Update for VS 2015 RTM
Now that the final version has been released, I don't think the warning spam for every compiler update is necessary anymore. Boost builds successfully with the RTM version (except for Locale, which doesn't build at all currently).
2015-07-20 19:54:41 +02:00
jzmaddock
15d56c9cff Fix detection of libstdc++ 4.7.x. 2015-07-07 19:22:38 +01:00
jzmaddock
5a9c919ef6 IBM compiler is not GCC. 2015-07-07 17:17:34 +01:00
jzmaddock
54e8de973f Merge branch 'shared_mutex' of https://github.com/eldiener/config into develop 2015-07-07 11:15:11 +01:00
Edward Diener
2f24d9811f Added logic when header file found to check for C++14 __cplusplus kevel. 2015-06-30 23:42:05 -04:00
Edward Diener
da03881bfb Removed BOOST_NO_CXX14_HDR_SHARED_MUTEX logic in compilers. 2015-06-30 23:41:03 -04:00
Edward Diener
ce9a0f17c8 Remove direct test for clang version as clang doc says that SD-6 supported fron clang 3.4 and up. 2015-06-28 13:06:27 -04:00
Edward Diener
7e6d65e361 Use SD-6 if it exists 2015-06-27 21:26:00 -04:00
Edward Diener
584a711c7a Removed comment. 2015-06-27 21:25:36 -04:00
Edward Diener
4f80398754 Updated using SD-6 2015-06-27 21:06:57 -04:00
jzmaddock
046b9d95e0 Tentative fix for IMB clang compiler failures.
Remove __int128 support - not supported by this compiler.
Make sure correct compiler config is selected.
2015-06-23 18:44:03 +01:00
Edward Diener
ae443e33fa Updated for shared_mutex header 2015-06-09 22:43:10 -04:00
Edward Diener
3fa00f8adb Support for C++14 shared_mutex header 2015-06-09 08:32:28 -04:00
Catherine Morton
e0e1deca08 add xlcpp toolset to selection options 2015-06-02 14:55:14 -04:00
Catherine Morton
b283567200 adding toolset for xlcpp 2015-06-02 12:45:43 -04:00
Beman
fa0e91cf21 Update version check for VisualStudio 2015 RC. 2015-05-02 18:06:24 -04:00
jzmaddock
03673b1d20 Merge pull request #59 from danieljames/start-1.59.0
Version bump for 1.59.0
2015-04-27 08:27:08 +01:00
Daniel James
55ea43b454 Version bump. 2015-04-26 22:57:44 +01:00
jzmaddock
88167ee705 Tentative fix for GCC 5.1 C++11 feature updates. 2015-04-24 17:10:13 +01:00
Marcel Raad
5169ec9d57 Update for MSVC 14 CTP 6
- C++ 14 digit separators were implemented in CTP5:
https://www.visualstudio.com/en-us/news/vs2015-vs.aspx#vcplus
- the value initialization bugs have been fixed:
http://www.boost.org/development/tests/develop/developer/output/teeks99-08f-win2012R2-64on64-boost-bin-v2-libs-utility-test-value_init_workaround_test-test-msvc-14-0-dbg-adrs-mdl-64-thrd-mlt.html
2015-04-21 11:32:10 +02:00
Jessica Hamilton
d5694b49e2 Haiku: remove invalid feature definitions
- Fixes the functional/hash library
- Fixes problems with the thread library
2015-04-09 09:36:42 +12:00
Jürgen Hunold
abaaea2f29 Remove trailing whitespace to avoid gcc warning
Full warning:
".../boost/cstdint.hpp:504:77: warning: backslash and newline separated by space
         (defined(_ULLONG_MAX) && _ULLONG_MAX == 18446744073709551615ULL) || \ "
2015-02-25 12:31:07 +01:00
jzmaddock
fada9f5ee2 Apply patch from https://svn.boost.org/trac/boost/ticket/6694 2015-02-23 13:14:28 +00:00
jzmaddock
975a488549 Fix for https://svn.boost.org/trac/boost/ticket/10955 2015-02-23 13:07:00 +00:00
jzmaddock
c573e85173 Apply patch from https://svn.boost.org/trac/boost/ticket/6796 2015-02-23 12:32:26 +00:00
jzmaddock
5366f899e9 Fix intptr_t def on solaris. 2015-02-22 18:26:56 +00:00
jzmaddock
b03afe92be Fix for Solaris 12.4 compiler in C++03 mode. 2015-02-22 13:16:37 +00:00