https://llvm.org/bugs/show_bug.cgi?id=31621

            Bug ID: 31621
           Summary: libcxxabi tests fail to build with ToT clang and c++1z
           Product: libc++abi
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedb...@nondot.org
          Reporter: bc...@codeaurora.org
                CC: llvm-bugs@lists.llvm.org, mclow.li...@gmail.com
    Classification: Unclassified

After clang commit below (r289019?) several libcxxabi tests fail to compile
with the error below when using "-std=c++1z":

error: ISO C++1z does not allow dynamic exception specifications
[-Wdynamic-exception-spec]
void f1() throw (long, char, double, std::bad_exception)
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
llvm/projects/libcxxabi/test/unwind_05.pass.cpp:66:11: note: use
'noexcept(false)' instead
void f1() throw (long, char, double, std::bad_exception)
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          noexcept(false)
1 error generated.
--

https://github.com/llvm-mirror/clang/commit/1f0155f24337194f4706f727db42f467244caa9e

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to