[LLVMbugs] [Bug 19807] New: exception specification in declaration does not match previous declaration
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue May 20 16:16:22 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19807
Bug ID: 19807
Summary: exception specification in declaration does not match
previous declaration
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: sgundapa at codeaurora.org
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 12551
--> http://llvm.org/bugs/attachment.cgi?id=12551&action=edit
Simple test case to demonstrate the issue
The attached test case bails out with diagnostic
/tmp/check.cpp:3:7: error: exception specification in declaration does not
match previous declaration
void *operator new(std::size_t size) throw()
^
note: previous declaration is here
1 error generated.
Where as gcc-4.9.0 compiles this test case.
--
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/20140520/c85e13c6/attachment.html>
More information about the llvm-bugs
mailing list