[llvm-bugs] [Bug 31621] New: libcxxabi tests fail to build with ToT clang and c++1z

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jan 12 11:01:00 PST 2017


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: unassignedbugs at nondot.org
          Reporter: bcain at codeaurora.org
                CC: llvm-bugs at lists.llvm.org, mclow.lists at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170112/575876d2/attachment.html>


More information about the llvm-bugs mailing list