diff options
| author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-08-03 00:07:52 +0000 |
|---|---|---|
| committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-08-03 00:07:52 +0000 |
| commit | ab919620ff711f539dc066d72e2485f8d4544367 (patch) | |
| tree | ef55dece2bc0db5a7a70ef8cdffe15a2454d21ec | |
| parent | 293be6409084e2a60316b5714823ddaaa062be16 (diff) | |
| download | ppe42-gcc-ab919620ff711f539dc066d72e2485f8d4544367.tar.gz ppe42-gcc-ab919620ff711f539dc066d72e2485f8d4544367.zip | |
* toplev.h (errorcount): Declare.
(warningcount): Likewise.
(sorrycount): Likewise.
* c-lex.c (errorcount): Don't declare.
* dwarf2out.c (errorcount): Don't declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28426 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 8 | ||||
| -rw-r--r-- | gcc/c-lex.c | 1 | ||||
| -rw-r--r-- | gcc/dwarf2out.c | 1 | ||||
| -rw-r--r-- | gcc/toplev.h | 3 |
4 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 32d2aa7d375..58d47e3ca20 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com> + + * toplev.h (errorcount): Declare. + (warningcount): Likewise. + (sorrycount): Likewise. + * c-lex.c (errorcount): Don't declare. + * dwarf2out.c (errorcount): Don't declare. + Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com> * config/libgloss.h: Add a note discouraging use with ELF. diff --git a/gcc/c-lex.c b/gcc/c-lex.c index 52387f883e5..049d5b27404 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -49,7 +49,6 @@ Boston, MA 02111-1307, USA. */ #include "cpplib.h" extern cpp_reader parse_in; extern cpp_options parse_options; -extern int errorcount; #else /* Stream for reading from the input file. */ FILE *finput; diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 4e1ebee44ad..a1e8ead9e89 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -8374,7 +8374,6 @@ gen_subprogram_die (decl, context_die) we should detect this case and ignore it. For now, if we have already reported an error, any error at all, then assume that we got here because of a input error, not a dwarf2 bug. */ - extern int errorcount; if (errorcount) return; abort (); diff --git a/gcc/toplev.h b/gcc/toplev.h index 3ffad1f5995..49adb413cd2 100644 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -115,4 +115,7 @@ extern void fnotice PROTO ((FILE *, const char *, ...)) extern const char *trim_filename PROTO ((const char *)); extern int wrapup_global_declarations PROTO ((union tree_node **, int)); extern void check_global_declarations PROTO ((union tree_node **, int)); +extern int errorcount; +extern int warningcount; +extern int sorrycount; #endif /* __GCC_TOPLEV_H */ |

