This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/29466] pointless error on implicit destructor



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]