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
This commit is contained in:
parent
c2e3db9254
commit
033ed3404f
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
* lex.c (cp_pragma_implementation): Allow #pragma implementation
|
||||
|
@ -3632,8 +3632,11 @@ finish_file ()
|
||||
walk_globals (vtable_decl_p, prune_vtable_vardecl, /*data=*/0);
|
||||
|
||||
/* Now, issue warnings about static, but not defined, functions,
|
||||
etc. */
|
||||
etc., and emit debugging information. */
|
||||
walk_namespaces (wrapup_globals_for_namespace, /*data=*/&reconsider);
|
||||
if (pending_statics)
|
||||
check_global_declarations (&VARRAY_TREE (pending_statics, 0),
|
||||
pending_statics_used);
|
||||
|
||||
finish_repo ();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user