[Bug c++/30434] wrong parse of exception declaration list in virtual functions with multiple inheritence

2007-01-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-01-14 04:39 --- The specific wording in the C++ standard: 15.4/3 If a virtual function has an exception-specification, all declarations, including the definition, of any function that overrides that virtual function in any dirived

[Bug c++/30434] wrong parse of exception declaration list in virtual functions with multiple inheritence

2007-01-13 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-01-14 04:46 --- Since in this case we have: struct a1 struct a2 both of which have virtualfunction with no exception-specification and then we have struct b : a1 struct c: a2 which have virtutalfunction with an