decl2.c (reparse_absdcl_as_casts): Don't warn about old-style casts in system headers...
authorJason Merrill <jason@gcc.gnu.org>
Fri, 9 Jul 1999 12:44:37 +0000 (08:44 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 9 Jul 1999 12:44:37 +0000 (08:44 -0400)
commit1d02ac8371b1d3b31ed029c29fa23fadeca48787
treece533478692fb6b5bbf3b4376582f0ed83cc0394
parent6f1b4c42790b1a8083ae217facb58eb3f0cfa819
decl2.c (reparse_absdcl_as_casts): Don't warn about old-style casts in system headers or extern "C" blocks.

* 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.

From-SVN: r28045
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/lex.c
gcc/cp/semantics.c