This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29466] pointless error on implicit destructor
- From: "igodard at pacbell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Oct 2006 21:49:40 -0000
- Subject: [Bug c++/29466] pointless error on implicit destructor
- References: <bug-29466-6594@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from igodard at pacbell dot net 2006-10-13 21:49 -------
Fair enough w/r/t standard base classes if the standard does indeed define the
throw specifications for each class's destructors. But the same dependency
appears
on any base class, whether standard, 3rd party, or locally written. That
dependency is necessary for a destructor you actually write, but it's just
silly
to require it on the compiler generated ones. Can't the compiler generate the
right throw specification?
Ivan
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29466