jzmaddock
76d4eaf4be
Patch for noinline attribute on the HIP compiler.
...
Fixes https://github.com/boostorg/config/issues/392 .
2021-08-08 11:53:57 +01:00
jzmaddock
fee1ad0796
Tentative fix for CUDA/Clang/Cray issue reported here https://github.com/boostorg/math/issues/181 .
2021-04-01 17:01:29 +01:00
Matt Borland
e846189f67
Fix BOOST_NO_CXX20_HDR_RANGES
2021-03-16 21:02:02 +03:00
jzmaddock
8a469f7047
Merge pull request #344 from boostorg/wasm
...
Add web assembly support (emscripten/wasm).
2021-03-12 17:21:42 +00:00
jzmaddock
10b0185c1e
Merge branch 'develop' into cxx_version
...
Updates to C++20.
Resolved Conflicts:
checks/Jamfile.v2
checks/std/cpp_aggregate_bases_17.cpp
checks/std/cpp_aggregate_nsdmi_14.cpp
checks/std/cpp_alias_templates_11.cpp
checks/std/cpp_aligned_new_17.cpp
checks/std/cpp_attributes_11.cpp
checks/std/cpp_binary_literals_14.cpp
checks/std/cpp_capture_star_this_17.cpp
checks/std/cpp_char8_t_20.cpp
checks/std/cpp_conditional_explicit_20.cpp
checks/std/cpp_constexpr_11.cpp
checks/std/cpp_constexpr_14.cpp
checks/std/cpp_constexpr_17.cpp
checks/std/cpp_decltype_11.cpp
checks/std/cpp_decltype_auto_14.cpp
checks/std/cpp_deduction_guides_17.cpp
checks/std/cpp_delegating_constructors_11.cpp
checks/std/cpp_enumerator_attributes_17.cpp
checks/std/cpp_exceptions_03.cpp
checks/std/cpp_explicit_conversion_11.cpp
checks/std/cpp_fold_expressions_17.cpp
checks/std/cpp_generic_lambdas_14.cpp
checks/std/cpp_guaranteed_copy_elision_17.cpp
checks/std/cpp_hex_float_17.cpp
checks/std/cpp_if_constexpr_17.cpp
checks/std/cpp_impl_destroying_delete_20.cpp
checks/std/cpp_impl_three_way_comparison_20.cpp
checks/std/cpp_inheriting_constructors_11.cpp
checks/std/cpp_inheriting_constructors_17.cpp
checks/std/cpp_init_captures_14.cpp
checks/std/cpp_initializer_lists_11.cpp
checks/std/cpp_inline_variables_17.cpp
checks/std/cpp_lambdas_11.cpp
checks/std/cpp_lib_addressof_constexpr_17.cpp
checks/std/cpp_lib_allocator_traits_is_always_equal_17.cpp
checks/std/cpp_lib_any_17.cpp
checks/std/cpp_lib_apply_17.cpp
checks/std/cpp_lib_array_constexpr_17.cpp
checks/std/cpp_lib_as_const_17.cpp
checks/std/cpp_lib_atomic_is_always_lock_free_17.cpp
checks/std/cpp_lib_atomic_ref_20.cpp
checks/std/cpp_lib_bind_front_20.cpp
checks/std/cpp_lib_bit_cast_20.cpp
checks/std/cpp_lib_bool_constant_17.cpp
checks/std/cpp_lib_boyer_moore_searcher_17.cpp
checks/std/cpp_lib_byte_17.cpp
checks/std/cpp_lib_char8_t_20.cpp
checks/std/cpp_lib_chrono_17.cpp
checks/std/cpp_lib_chrono_udls_14.cpp
checks/std/cpp_lib_clamp_17.cpp
checks/std/cpp_lib_complex_udls_14.cpp
checks/std/cpp_lib_concepts_20.cpp
checks/std/cpp_lib_constexpr_misc_20.cpp
checks/std/cpp_lib_constexpr_swap_algorithms_20.cpp
checks/std/cpp_lib_destroying_delete_20.cpp
checks/std/cpp_lib_enable_shared_from_this_17.cpp
checks/std/cpp_lib_erase_if_20.cpp
checks/std/cpp_lib_exchange_function_14.cpp
checks/std/cpp_lib_execution_17.cpp
checks/std/cpp_lib_filesystem_17.cpp
checks/std/cpp_lib_gcd_lcm_17.cpp
checks/std/cpp_lib_generic_associative_lookup_14.cpp
checks/std/cpp_lib_generic_unordered_lookup_20.cpp
checks/std/cpp_lib_hardware_interference_size_17.cpp
checks/std/cpp_lib_has_unique_object_representations_17.cpp
checks/std/cpp_lib_hypot_17.cpp
checks/std/cpp_lib_incomplete_container_elements_17.cpp
checks/std/cpp_lib_integer_sequence_14.cpp
checks/std/cpp_lib_integral_constant_callable_14.cpp
checks/std/cpp_lib_invoke_17.cpp
checks/std/cpp_lib_is_aggregate_17.cpp
checks/std/cpp_lib_is_constant_evaluated_20.cpp
checks/std/cpp_lib_is_final_14.cpp
checks/std/cpp_lib_is_invocable_17.cpp
checks/std/cpp_lib_is_null_pointer_14.cpp
checks/std/cpp_lib_is_swappable_17.cpp
checks/std/cpp_lib_launder_17.cpp
checks/std/cpp_lib_list_remove_return_type_20.cpp
checks/std/cpp_lib_logical_traits_17.cpp
checks/std/cpp_lib_make_from_tuple_17.cpp
checks/std/cpp_lib_make_reverse_iterator_14.cpp
checks/std/cpp_lib_make_unique_14.cpp
checks/std/cpp_lib_map_try_emplace_17.cpp
checks/std/cpp_lib_math_special_functions_17.cpp
checks/std/cpp_lib_memory_resource_17.cpp
checks/std/cpp_lib_node_extract_17.cpp
checks/std/cpp_lib_nonmember_container_access_17.cpp
checks/std/cpp_lib_not_fn_17.cpp
checks/std/cpp_lib_null_iterators_14.cpp
checks/std/cpp_lib_optional_17.cpp
checks/std/cpp_lib_parallel_algorithm_17.cpp
checks/std/cpp_lib_quoted_string_io_14.cpp
checks/std/cpp_lib_ranges_20.cpp
checks/std/cpp_lib_raw_memory_algorithms_17.cpp
checks/std/cpp_lib_result_of_sfinae_14.cpp
checks/std/cpp_lib_robust_nonmodifying_seq_ops_14.cpp
checks/std/cpp_lib_sample_17.cpp
checks/std/cpp_lib_scoped_lock_17.cpp
checks/std/cpp_lib_shared_mutex_17.cpp
checks/std/cpp_lib_shared_ptr_arrays_17.cpp
checks/std/cpp_lib_shared_ptr_weak_type_17.cpp
checks/std/cpp_lib_shared_timed_mutex_14.cpp
checks/std/cpp_lib_string_udls_14.cpp
checks/std/cpp_lib_string_view_17.cpp
checks/std/cpp_lib_three_way_comparison_20.cpp
checks/std/cpp_lib_to_chars_17.cpp
checks/std/cpp_lib_transformation_trait_aliases_14.cpp
checks/std/cpp_lib_transparent_operators_14.cpp
checks/std/cpp_lib_transparent_operators_17.cpp
checks/std/cpp_lib_tuple_element_t_14.cpp
checks/std/cpp_lib_tuples_by_type_14.cpp
checks/std/cpp_lib_type_trait_variable_templates_17.cpp
checks/std/cpp_lib_uncaught_exceptions_17.cpp
checks/std/cpp_lib_unordered_map_try_emplace_17.cpp
checks/std/cpp_lib_variant_17.cpp
checks/std/cpp_lib_void_t_17.cpp
checks/std/cpp_namespace_attributes_17.cpp
checks/std/cpp_noexcept_function_type_17.cpp
checks/std/cpp_nontype_template_args_17.cpp
checks/std/cpp_nontype_template_parameter_auto_17.cpp
checks/std/cpp_nontype_template_parameter_class_20.cpp
checks/std/cpp_nsdmi_11.cpp
checks/std/cpp_range_based_for_11.cpp
checks/std/cpp_range_based_for_17.cpp
checks/std/cpp_raw_strings_11.cpp
checks/std/cpp_ref_qualifiers_11.cpp
checks/std/cpp_return_type_deduction_14.cpp
checks/std/cpp_rtti_03.cpp
checks/std/cpp_rvalue_references_11.cpp
checks/std/cpp_sized_deallocation_14.cpp
checks/std/cpp_static_assert_11.cpp
checks/std/cpp_static_assert_17.cpp
checks/std/cpp_structured_bindings_17.cpp
checks/std/cpp_template_template_args_17.cpp
checks/std/cpp_threadsafe_static_init_11.cpp
checks/std/cpp_unicode_characters_11.cpp
checks/std/cpp_unicode_literals_11.cpp
checks/std/cpp_user_defined_literals_11.cpp
checks/std/cpp_variable_templates_14.cpp
checks/std/cpp_variadic_templates_11.cpp
checks/std/cpp_variadic_using_17.cpp
checks/test_case.cpp
doc/html/index.html
test/all/Jamfile.v2
test/config_info.cpp
test/config_test.cpp
2021-03-06 19:58:12 +00:00
jzmaddock
f1f686ec65
Correct non-c++20 builds.
2021-03-05 10:51:17 +00:00
jzmaddock
8bacf65145
Begin C++20 support.
2021-03-04 20:38:19 +00:00
jzmaddock
f460031312
Add broad scope feature checks.
2021-03-03 17:00:24 +00:00
jzmaddock
fd2a10c27c
Add web assembly support (emscripten/wasm).
2020-10-12 17:58:27 +01:00
jzmaddock
d068116805
Add all C++17 headers not already covered.
2020-07-27 18:14:55 +01:00
jzmaddock
46e0a13496
Further restrict typeinfo workarounds to msvc.
2020-07-25 19:46:13 +01:00
Edward Diener
4433fe3355
Define BOOST_NORETURN for Embarcadero the same as gcc/clang
2020-04-23 11:54:24 -04:00
Glen Fernandes
c6817bf70e
Implement BOOST_OVERRIDE
2020-04-09 16:22:41 -04:00
Edward Diener
e680a13d8a
Removed unnecessary changes. Corrected spelling mistake in a comment.
2020-04-05 01:04:18 -04:00
Edward Diener
aa90bfdb4a
Support for Embarcadero clang-based C++ compilers in Boost Config.
2020-03-18 20:23:04 -04:00
jzmaddock
b54214277f
Merge branch 'develop' into issue_305
2020-01-25 09:35:15 +00:00
jzmaddock
8505446ea8
Merge pull request #316 from glenfe/develop
...
Add BOOST_INLINE_CONSTEXPR convenience macro
2020-01-24 19:17:25 +00:00
jzmaddock
9aaa4edda1
Add helper macro BOOST_IF_CONSTEXPR.
2020-01-24 18:33:21 +00:00
jzmaddock
94f7da0e5e
Merge pull request #308 from Kojoley/use-version-include
...
Use <version> to determine standard library
2020-01-24 18:07:23 +00:00
Glen Fernandes
947571e214
Add BOOST_INLINE_CONSTEXPR convenience macro
2020-01-01 13:10:17 -05:00
Edward Diener
bccc2df797
Fix Oracle C++ prior to the latest release.
2019-12-12 23:36:36 -05:00
Nikita Kniazev
26f20bd8e5
Use <version> to determine standard library
2019-12-03 19:35:14 +03:00
jzmaddock
8aa8d541b3
Update suffix.hpp for older msvc versions.
...
See https://github.com/boostorg/config/commit/8dcea4d78c7a9bd07322015d541fb76c77e33022#commitcomment-35718928 .
2019-10-30 18:30:31 +00:00
jzmaddock
c85145a2a8
Merge branch 'inline_variable' of https://github.com/Lastique/config into develop
...
Fixed Conflicts:
doc/macro_reference.qbk
2019-10-29 16:56:11 +00:00
jzmaddock
3ac79f29ba
Merge pull request #299 from Lastique/add_final
...
Add BOOST_FINAL macro
2019-10-29 14:34:39 +00:00
jzmaddock
8dcea4d78c
Add version check for C++17 features in suffix.hpp
...
Fixes https://github.com/boostorg/config/issues/287 .
2019-10-29 09:29:04 +00:00
Hans Dembinski
d32f9c5864
fixes warning in clang-6
2019-10-19 14:02:08 +02:00
Andrey Semashev
2fa0a0bd52
Added BOOST_FINAL macro.
2019-10-14 21:20:33 +03:00
Andrey Semashev
38df8ca0d7
Added BOOST_INLINE_VARIABLE macro.
...
The BOOST_INLINE_VARIABLE macro can be used to mark C++17 inline variables in
contexts where omitting the inline keyword is still acceptable on older
compilers.
This commit also adds the missing docs for BOOST_NO_CXX17_INLINE_VARIABLES.
2019-10-02 17:20:08 +03:00
jzmaddock
8d58766c7b
gcc: exclude attribute definition for gcc in C++03 mode.
...
Even though __has_attribute reports true for gcc-9.
2019-06-28 08:32:47 +01:00
jzmaddock
6ef16c8d90
Add BOOST_ATTRIBUTE_NO_UNIQUE_ADDRESS.
...
See https://github.com/boostorg/config/issues/257 .
2019-04-02 18:40:25 +01:00
jzmaddock
85b4600817
Add BOOST_ATTRIBUTE_NODISCARD.
...
See https://github.com/boostorg/config/issues/258 .
2019-04-01 19:30:31 +01:00
jzmaddock
d112744885
Add BOOST_NO_CXX17_HDR_VARIANT.
...
See https://github.com/boostorg/config/issues/264
2019-04-01 19:08:54 +01:00
jzmaddock
b420491e88
Add BOOST_NO_CXX17_HDR_STRING_VIEW.
2018-08-16 11:25:16 +01:00
jzmaddock
fb9957101f
Correct use of __has_include in suffix.hpp.
2018-08-04 19:35:11 +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
jzmaddock
ec3318d47a
Fixes https://github.com/boostorg/config/issues/237 .
...
Also tentatively adds .cu test file, though without boost.build support at present.
2018-08-04 18:15:48 +01:00
jzmaddock
d9d5ece1c8
Revert "BOOST_STATIC_CONSTANT should use constexpr"
...
This reverts commit 51f1178921 .
2018-03-18 10:53:41 +00:00
Nikita Kniazev
51f1178921
BOOST_STATIC_CONSTANT should use constexpr
2018-02-24 20:17:36 +03:00
Andrzej Krzemieński
0d0211e4d5
comment typeo fix
2018-01-11 21:21:20 +01:00
akrzemi1
3ec5a2b573
Added macro BOOST_NO_CXX11_DEFAULTED_MOVES
2018-01-04 00:58:32 +01:00
Peter Dimov
08bd1dbe71
Move BOOST_STRINGIZE, BOOST_JOIN to config/helper_macros.hpp; use BOOST_STRINGIZE in BOOST_PRAGMA_MESSAGE
2017-12-04 18:05:05 +02: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
John Maddock
0b508cb2c9
noreturn attribute is apparently not supported by Oracle 12.4
2017-04-27 17:22:18 +00: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