diff options
author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-06-10 13:48:04 +0000 |
---|---|---|
committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-06-10 13:48:04 +0000 |
commit | a587b03b0bad479328832d9cf1fdfae26d57808d (patch) | |
tree | 0beb92444cb25b52bba6afa1198fdb6b47f5f556 /gcc/ch | |
parent | 098ab62d6604a8e5da61899a4acb4c5499ec58f5 (diff) | |
download | gcc-a587b03b0bad479328832d9cf1fdfae26d57808d.tar.gz |
gcc/
2001-06-10 Mark Mitchell <mark@codesourcery.com>
Gabriel Dos Reis <gdr@codesourcery.com>
* Makefile.in (c-parse.o): Depend on diagnostic.h
(dwarf2out.o): Likewise.
* dwarf2out.c: #include diagnostic.h
* toplev.h (warningcount, errorcount, sorrycount): Remove
declarations.
* toplev.c (warningcount, errorcount, sorrycount): Remove
definitions.
* diagnostic.h (struct output_buffer): Reorder fields.
(diagnostic_kind_count): New macro.
(errorcount, warningcount, sorrycount): Define as macros.
(diagnostic_report_warnings_p): New macro.
(output_state): Add diagnostic_count field.
* diagnostic.c (warningcount, errorcount, inhibit_warnings):
Remove tentative declaration.
(count_error): Use diagnostic_report_warnings_p.
* c-parse.in: #include diagnostic.h
ch/
2001-06-10 Gabriel Dos Reis <gdr@codesourcery.com>
* decl.c: #include diagnostic.h
* actions.c: #include diagnostic.h
* Makefile.in (actions.o): Depend on diagnostic.h
(decl.o): Depend on diagnostic.h
cp/
2001-06-10 Mark Mitchell <mark@codesourcery.com>
Gabriel Dos Reis <gdr@codesourcery.com>
* Make-lang.in (cp/call.o): Depend on diagnostic.h
(cp/typeck.o): Depend on diagnostic.h
(cp/typeck2.o): Depend on diagnostic.h
(cp/repo.o): Depend on dignostic.h
* typeck.c: #include diagnostic.h
(convert_for_initialization): Remove extern declaration for
warningcount and errorcount.
* call.c: #include diagnostic.h
(convert_like_real): Remove extern declaration for warnincount and
errorcount.
* repo.c: #include diagnostic.h
* typeck2.c: #include diagnostic.h
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43140 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ch')
-rw-r--r-- | gcc/ch/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/ch/Makefile.in | 4 | ||||
-rw-r--r-- | gcc/ch/actions.c | 1 | ||||
-rw-r--r-- | gcc/ch/decl.c | 1 |
4 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ch/ChangeLog b/gcc/ch/ChangeLog index cc1358c0ce8..be600bd3da5 100644 --- a/gcc/ch/ChangeLog +++ b/gcc/ch/ChangeLog @@ -1,3 +1,10 @@ +2001-06-10 Gabriel Dos Reis <gdr@codesourcery.com> + + * decl.c: #include diagnostic.h + * actions.c: #include diagnostic.h + * Makefile.in (actions.o): Depend on diagnostic.h + (decl.o): Depend on diagnostic.h + 2001-06-02 Joseph S. Myers <jsm28@cam.ac.uk> * chill.texi: Move contents to just after title page. diff --git a/gcc/ch/Makefile.in b/gcc/ch/Makefile.in index a15c1ce7506..deb26f3a9bd 100644 --- a/gcc/ch/Makefile.in +++ b/gcc/ch/Makefile.in @@ -269,12 +269,12 @@ $(srcdir)/hash.h: actions.o : actions.c $(CONFIG_H) $(CHILL_TREE_H) actions.h $(RTL_H) \ lex.h $(srcdir)/../flags.h $(srcdir)/../input.h \ - $(EXPR_H) $(srcdir)/../system.h $(srcdir)/../toplev.h + $(EXPR_H) $(srcdir)/../system.h $(srcdir)/../toplev.h diagnostic.h convert.o : convert.c $(CONFIG_H) $(CHILL_TREE_H) $(srcdir)/../flags.h \ $(srcdir)/../tree.h $(srcdir)/../system.h $(srcdir)/../toplev.h \ $(srcdir)/../convert.h decl.o : decl.c $(CONFIG_H) $(CHILL_TREE_H) $(srcdir)/../flags.h lex.h \ - $(srcdir)/../system.h $(srcdir)/../toplev.h + $(srcdir)/../system.h $(srcdir)/../toplev.h diagnostic.h except.o : except.c $(CONFIG_H) $(srcdir)/../tree.h $(RTL_H) $(CHILL_TREE_H) \ $(srcdir)/../system.h $(srcdir)/../toplev.h expr.o : expr.c $(CONFIG_H) $(RTL_H) $(CHILL_TREE_H) $(srcdir)/../flags.h \ diff --git a/gcc/ch/actions.c b/gcc/ch/actions.c index 09c8a5a23f7..a0e50d68a5f 100644 --- a/gcc/ch/actions.c +++ b/gcc/ch/actions.c @@ -32,6 +32,7 @@ Boston, MA 02111-1307, USA. */ #include "obstack.h" #include "assert.h" #include "toplev.h" +#include "diagnostic.h" static int id_cmp PARAMS ((tree *, tree *)); static void warn_unhandled PARAMS ((const char *)); diff --git a/gcc/ch/decl.c b/gcc/ch/decl.c index 6cdec6c9bee..a433fa7b79b 100644 --- a/gcc/ch/decl.c +++ b/gcc/ch/decl.c @@ -191,6 +191,7 @@ Boston, MA 02111-1307, USA. */ #include "input.h" #include "rtl.h" #include "toplev.h" +#include "diagnostic.h" #define IS_UNKNOWN_TYPE(type) (TYPE_SIZE(type)==0) #define BUILTIN_NESTING_LEVEL (-1) |