OSDN Git Service

* decl2.c (reparse_absdcl_as_casts): Don't warn about old-style
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Jul 1999 12:44:37 +0000 (12:44 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Jul 1999 12:44:37 +0000 (12:44 +0000)
commit495d2af2e9476c727801e6bf1f1f31088edb0b55
treece533478692fb6b5bbf3b4376582f0ed83cc0394
parent8036fa43a36a2df0d9ce3e116398d7e6ff270e9d
* decl2.c (reparse_absdcl_as_casts): Don't warn about old-style
casts in system headers or extern "C" blocks.
* decl2.c (write_virtuals): Deleted declaration.
* cp-tree.h (write_virtuals): Deleted extern declaration.
* class.c (finish_struct_1): Removed #if 0'd code that mentions
write_virtuals.
* semantics.c (begin_class_definition): Rewrite code to not depend
on write_virtuals.
* lex.c (cp_pragma_interface): New function.
(cp_pragma_implementation): Likewise.
(handle_cp_pragma): Call them.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28045 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/lex.c
gcc/cp/semantics.c