[libcxxabi] r289353 - Workaround the removal of dynamic exception specifications in C++17

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 10 17:35:55 PST 2016


Author: ericwf
Date: Sat Dec 10 19:35:55 2016
New Revision: 289353

URL: http://llvm.org/viewvc/llvm-project?rev=289353&view=rev
Log:
Workaround the removal of dynamic exception specifications in C++17

Modified:
    libcxxabi/trunk/test/libcxxabi/test/config.py

Modified: libcxxabi/trunk/test/libcxxabi/test/config.py
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/test/libcxxabi/test/config.py?rev=289353&r1=289352&r2=289353&view=diff
==============================================================================
--- libcxxabi/trunk/test/libcxxabi/test/config.py (original)
+++ libcxxabi/trunk/test/libcxxabi/test/config.py Sat Dec 10 19:35:55 2016
@@ -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()




More information about the cfe-commits mailing list