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

2006-10-13 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-14 03:02 --- (In reply to comment #2) > Can't the compiler generate the right throw specification? No because the C++ standard says it does but with respect to all functions it calls and not just the base class. 15.4/13: An impl

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

2006-10-13 Thread igodard at pacbell dot net
--- 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 local

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

2006-10-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-13 21:37 --- Comeau also errors and I don't have access to the standard right at this moment to double check. "ComeauTest.c", line 3: error: exception specification for implicitly declared virtual function "der1::~der1