* search.c (get_abstract_virtuals): Complain about virtuals with
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Nov 1998 02:21:54 +0000 (02:21 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Nov 1998 02:21:54 +0000 (02:21 +0000)
commit6b0303ff6393b749be85599ec07e1203427c3d37
tree8ef5374aa25f5637e6ac2642886cbeb83776a581
parent427e872208f7e8d49721efba03aae2f6f83f99d7
* 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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23691 138bc75d-0d04-0410-961f-82ee72b054a4
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