Commit 033ed340 by Jason Merrill Committed by Jason Merrill

decl2.c (finish_file): Also call check_global_declarations for the pending_statics list.

	* decl2.c (finish_file): Also call check_global_declarations for
	the pending_statics list.

From-SVN: r29458
parent c2e3db92
1999-09-16 Jason Merrill <jason@yorick.cygnus.com>
* decl2.c (finish_file): Also call check_global_declarations for
the pending_statics list.
1999-09-15 Jason Merrill <jason@yorick.cygnus.com> 1999-09-15 Jason Merrill <jason@yorick.cygnus.com>
* lex.c (cp_pragma_implementation): Allow #pragma implementation * lex.c (cp_pragma_implementation): Allow #pragma implementation
......
...@@ -3632,8 +3632,11 @@ finish_file () ...@@ -3632,8 +3632,11 @@ finish_file ()
walk_globals (vtable_decl_p, prune_vtable_vardecl, /*data=*/0); walk_globals (vtable_decl_p, prune_vtable_vardecl, /*data=*/0);
/* Now, issue warnings about static, but not defined, functions, /* Now, issue warnings about static, but not defined, functions,
etc. */ etc., and emit debugging information. */
walk_namespaces (wrapup_globals_for_namespace, /*data=*/&reconsider); walk_namespaces (wrapup_globals_for_namespace, /*data=*/&reconsider);
if (pending_statics)
check_global_declarations (&VARRAY_TREE (pending_statics, 0),
pending_statics_used);
finish_repo (); finish_repo ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment