[LLVMbugs] [Bug 9941] Error in simple code in C++0x: exception specification of overriding function is more lax than base version
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu May 19 13:23:56 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=9941
Howard Hinnant <hhinnant at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #6 from Howard Hinnant <hhinnant at apple.com> 2011-05-19 15:23:56 CDT ---
It looks like we still have a problem when the destructor is defined external
to the class.
Apple clang version 3.0 (trunk 131664) (based on LLVM 3.0svn)
Target: x86_64-apple-darwin10.7.0
Thread model: posix
In file included from underlying_type.pass.cpp:16:
In file included from /usr/include/c++/v1/iostream:38:
In file included from /usr/include/c++/v1/ios:216:
/usr/include/c++/v1/__locale:208:18: error: exception specification of
overriding function is more lax than base version
collate<_CharT>::~collate()
^
/usr/include/c++/v1/__locale:100:13: note: overridden virtual function is here
virtual ~facet();
^
In file included from underlying_type.pass.cpp:16:
In file included from /usr/include/c++/v1/iostream:38:
/usr/include/c++/v1/ios:649:29: error: exception specification of overriding
function is more lax than base version
basic_ios<_CharT, _Traits>::~basic_ios()
^
/usr/include/c++/v1/ios:295:13: note: overridden virtual function is here
virtual ~ios_base();
^
2 errors generated.
--
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.
More information about the llvm-bugs
mailing list