summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2022-06-06 03:56:51 +1000
committer Vas Crabb <vas@vastheman.com>2022-06-06 04:00:02 +1000
commitea1e51636c68f6d07b3d62b7b9d960567d4e3f33 (patch)
tree2e54a5ee84cc175639d1860086c5840d981338a6 /src/lib
parent6c474b6699118dc84ee52428a23ebf79268f861f (diff)
Adjust toolchain versions for triggering workarounds:
* Make netlist/plib noexcept issue workaround trigger for clang 8 or Apple clang 11.0.0. * Disable lifetime DSE optimisation for GCC 10.2 (this may be an issue in GNU libstdc++ rather than GCC itself - using compiler version as a proxy for standard library version is bad, but it's the path of least resistance for now).
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/netlist/plib/ptypes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/netlist/plib/ptypes.h b/src/lib/netlist/plib/ptypes.h
index 481fd8c3061..fcd72d779c3 100644
--- a/src/lib/netlist/plib/ptypes.h
+++ b/src/lib/netlist/plib/ptypes.h
@@ -227,9 +227,9 @@ namespace plib
using mingw = std::integral_constant<bool, false>;
#endif
#if defined(__APPLE__)
- using clang_noexcept_issue = std::integral_constant<bool, version::vmajor::value < 11>;
+ using clang_noexcept_issue = std::integral_constant<bool, (type::value == ci_compiler::CLANG) && (version::vmajor::full < 110003)>;
#else
- using clang_noexcept_issue = std::integral_constant<bool, (type::value == ci_compiler::CLANG) && (version::vmajor::value < 8)>;
+ using clang_noexcept_issue = std::integral_constant<bool, (type::value == ci_compiler::CLANG) && (version::vmajor::value < 9)>;
#endif
#if defined(__ia64__)
using abi_vtable_function_descriptors = std::integral_constant<bool, true>;