diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-12-11 01:35:55 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-12-11 01:35:55 +0000 |
commit | 0b610feadad9982053c2dbd647b9496c119918ed (patch) | |
tree | f8ca72d1758735615c9dee07a9783826afb6b49a /test | |
parent | a3219dad2cf0dec6d7c753fc2702a8781a7fd3df (diff) |
Workaround the removal of dynamic exception specifications in C++17
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@289353 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/libcxxabi/test/config.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/libcxxabi/test/config.py b/test/libcxxabi/test/config.py index 5349338..762cd96 100644 --- a/test/libcxxabi/test/config.py +++ b/test/libcxxabi/test/config.py @@ -52,7 +52,11 @@ class Configuration(LibcxxConfiguration): if not self.get_lit_bool('enable_threads', True): self.cxx.compile_flags += ['-D_LIBCXXABI_HAS_NO_THREADS'] self.config.available_features.add('libcxxabi-no-threads') - super(Configuration, self).configure_compile_flags() + # FIXME: Fix the unwind_* tests that test dynamic exception + # specifications so they work in C++17 (or always test in C++14). + # Suppressing this warning is a temporary workaround. + self.cxx.addWarningFlagIfSupported('-Wno-dynamic-exception-spec') + super(Configuration, self).configure_compile_flags() def configure_compile_flags_header_includes(self): self.configure_config_site_header() |