Michel Zou
98c3ac8158
Allow thread_local on mingw with gcc>=11
2021-06-09 15:36:20 +02: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
Glen Fernandes
c6817bf70e
Implement BOOST_OVERRIDE
2020-04-09 16:22:41 -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
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
dcc6fccd8e
Merge pull request #268 from Kojoley/patch-2
...
Lift thread local ban for 64bit MinGW
2019-04-01 19:13:58 +01: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
Nikita Kniazev
a2bf626b54
__builtin_unreachable was introduced in GCC 4.5
...
https://godbolt.org/z/7oXS2i
2019-03-26 00:41:31 +03:00
jzmaddock
f48077f631
Make constexpr a gcc-4.7 feature not 4.6.
2018-11-07 18:12:32 +00:00
jzmaddock
87f56edb22
Merge pull request #228 from lanurmi/message-prefix
...
Prefix "Unknown compiler version ..." messages with "boost:".
2018-08-02 18:29:17 +01:00
jzmaddock
0a22b8dbed
Update last tested gcc version.
2018-07-31 19:50:31 +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
Andrey Semashev
3b709bc3ed
Use dllimport/dllexport with clang and gcc on Cygwin.
...
This is required at least for Boost.WinAPI to match the declarations in
Windows SDK headers, which use dllimport.
Also, for clang on Windows, use dllimport/dllexport even beyond Cygwin.
The compiler does support these attributes, and it should for
compatibility with Windows headers.
2018-03-11 17:37:13 +03:00
Zach Laine
15d78e548f
Add BOOST_NO_CXX17_IF_CONSTEXPR.
2018-03-06 17:44:52 -06:00
Glen Fernandes
db4ebfca6f
Variable templates are somewhat unusable in GCC 5.1 (bug 65719)
2018-02-09 07:58:30 -05:00
akrzemi1
3ec5a2b573
Added macro BOOST_NO_CXX11_DEFAULTED_MOVES
2018-01-04 00:58:32 +01:00
jzmaddock
8c9e237f26
Improve outdated configuration / new compiler messages.
2017-08-17 17:51:48 +01: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
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
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
Glen Fernandes
6e93ac5d72
Add BOOST_NO_CXX11_SFINAE_EXPR
2017-02-04 09:20:36 -05:00
jzmaddock
4fc32ad70a
Add support for C++11 thread_local.
2016-07-02 09:09:19 +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
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
morinmorin
2656ae42d4
Guard attribute names with double underscores.
2015-09-03 19:02:48 +09: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
dcbb032aa3
Rename BOOST_NO_CXX14_DIGIT_SEPARATOR to BOOST_NO_CXX14_DIGIT_SEPARATORS.
...
Fix name of BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES in docs.
2014-10-21 12:39:17 +01:00
jzmaddock
75f4069bad
Improve GCC C++14 feature detection.
2014-10-12 15:39:25 +01:00
jzmaddock
5e78d55d0e
Fix spelling of one C++14 macro, improve C++14 auto-detection.
2014-10-12 11:46:15 +01:00
jzmaddock
b811dd40ae
Add C++14 support based on https://github.com/boostorg/config/pull/39
2014-10-12 10:01:22 +01:00
jzmaddock
003d33725e
Add helper macro - BOOST_ATTRIBUTE_UNUSED - to suppress unused type/variable warnings.
2014-10-11 13:10:25 +01:00
jzmaddock
16a4fc7f6a
In preparation for GCC-5 and/or the deprecation of __GXX_EXPERIMENTAL_CXX0X__ refactor GCC configuration.
2014-09-24 19:27:40 +01:00
jzmaddock
4dc7c66c4d
Add new macro BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS
2014-08-25 18:37:18 +01:00
jzmaddock
eec8085549
Fix BOOST_NO_CXX11_VARIADIC_TEMPLATES definition - the feature was introduced in GCC 4.4.
2014-08-23 09:38:02 +01:00
Andrey Semashev
0df91c0665
Enabled non-public defaulted functions for gcc 4.4 as it passed the test.
2014-08-21 16:45:18 +04:00
Andrey Semashev
be328aa19b
Make BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS defined when BOOST_NO_CXX11_DEFAULTED_FUNCTIONS is defined.
...
Lack of non-public defaulted functions is implied by the lack of any defaulted functions, so define the defect macro.
2014-08-21 15:20:30 +04:00
K-ballo
f0136c5911
Added macro BOOST_NO_CXX11_FINAL
2014-08-16 12:24:06 -03:00
Andrzej Krzemienski
d205efbb1b
Added macro BOOST_NO_CXX11_REF_QUALIFIERS
2014-05-28 17:33:28 +02:00
K. Noel Belcourt
f27ef7207a
Add check that BOOST_HAS_LONG_LONG is supported on Darwin
...
before enabling the macro. Apple helpfully supplies this
macro (__DARWIN_NO_LONG_LONG) if long long type is supported.
This to handle case where compiling with -pedantic causes
compiler errors because it enforces ISO compliance
(c++98 in this case).
2014-02-04 17:32:06 -07:00
Daniel James
07dc9f9e9e
Fix syntax error in gcc config.
...
[SVN r85275]
2013-08-10 12:43:07 +00:00
Daniel James
637cd1e6db
Bump minimum compiler requirements.
...
This requirements bump will allow increasing modularization of
the boost libraries. This change is still extremely conservative. To
allow proper modularization, the version requirements should be
increased much more.
(from Stephen Kelly)
[SVN r85272]
2013-08-10 12:41:58 +00:00
John Maddock
c42fbefc03
Use underscores in attribute names.
...
Fixes #8849 .
[SVN r85136]
2013-07-23 17:26:41 +00:00