search.c (get_abstract_virtuals): Complain about virtuals with no final overrider.
authorJason Merrill <jason@yorick.cygnus.com>
Wed, 18 Nov 1998 02:21:54 +0000 (02:21 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 18 Nov 1998 02:21:54 +0000 (21:21 -0500)
commit8ebeee52bcaa48ccdd6a04889ca4945698ff6960
tree8ef5374aa25f5637e6ac2642886cbeb83776a581
parent7251e5522be2dc59c79433e4ced2cbbc1cd91e16
search.c (get_abstract_virtuals): Complain about virtuals with no final overrider.

* search.c (get_abstract_virtuals): Complain about virtuals with
no final overrider.
* typeck2.c (abstract_virtuals_error): Remove handling for virtuals
with no final overrider.
* class.c (override_one_vtable): Don't set DECL_ABSTRACT_VIRTUAL_P
on virtuals with no final overrider.
Fixes Sec10/3/E10120.C
* lex.c (reinit_parse_for_block): Add a space after the initial ':'.
Fixes Sec9/7/R09434.r0
* class.c (finish_struct_1): Don't remove zero-width bit-fields until
after layout_type.
Fixes Sec9/6/P09024.C
* friend.c (do_friend): Don't set_mangled_name_for_decl.
Fixes Sec9/2/P09075.C
* class.c (finish_struct_anon): Complain about non-fields.
* decl2.c (build_anon_union_vars): Likewise.
* decl.c (grokdeclarator): Normal data members can't have the same
name as the class, either.
* class.c (finish_struct_anon): Neither can members of an
anonymous union.
Fixes Sec9/2/C09268.cm

From-SVN: r23691
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/friend.c
gcc/cp/lex.c
gcc/cp/search.c
gcc/cp/typeck2.c