http://llvm.org/bugs/show_bug.cgi?id=9942
Summary: error: exception specification of overriding function
is more lax than base version
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++0x
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
$ clang++ -std=c++0x test.cpp
class __shared_count
{
protected:
virtual ~__shared_count();
};
class __shared_weak_count
: private __shared_count
{
protected:
virtual ~__shared_weak_count();
};
test.cpp:11:13: error: exception specification of overriding function is more
lax than base version
virtual ~__shared_weak_count();
^
test.cpp:4:13: note: overridden virtual function is here
virtual ~__shared_count();
^
1 error generated.
Apple clang version 3.0 (trunk 131530) (based on LLVM 3.0svn)
Target: x86_64-apple-darwin10.7.0
Thread model: posix
This error is severe enough that libc++ is completely unusable. I'm reverting
to an earlier build.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs