Commit e1c49ab4 by Mark Mitchell Committed by Mark Mitchell

toplev.h (errorcount): Declare.

	* toplev.h (errorcount): Declare.
	(warningcount): Likewise.
	(sorrycount): Likewise.
	* c-lex.c (errorcount): Don't declare.
	* dwarf2out.c (errorcount): Don't declare.

From-SVN: r28426
parent 7aae67a2
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> Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
* config/libgloss.h: Add a note discouraging use with ELF. * config/libgloss.h: Add a note discouraging use with ELF.
......
...@@ -49,7 +49,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -49,7 +49,6 @@ Boston, MA 02111-1307, USA. */
#include "cpplib.h" #include "cpplib.h"
extern cpp_reader parse_in; extern cpp_reader parse_in;
extern cpp_options parse_options; extern cpp_options parse_options;
extern int errorcount;
#else #else
/* Stream for reading from the input file. */ /* Stream for reading from the input file. */
FILE *finput; FILE *finput;
......
...@@ -8374,7 +8374,6 @@ gen_subprogram_die (decl, context_die) ...@@ -8374,7 +8374,6 @@ gen_subprogram_die (decl, context_die)
we should detect this case and ignore it. For now, if we have we should detect this case and ignore it. For now, if we have
already reported an error, any error at all, then assume that already reported an error, any error at all, then assume that
we got here because of a input error, not a dwarf2 bug. */ we got here because of a input error, not a dwarf2 bug. */
extern int errorcount;
if (errorcount) if (errorcount)
return; return;
abort (); abort ();
......
...@@ -115,4 +115,7 @@ extern void fnotice PROTO ((FILE *, const char *, ...)) ...@@ -115,4 +115,7 @@ extern void fnotice PROTO ((FILE *, const char *, ...))
extern const char *trim_filename PROTO ((const char *)); extern const char *trim_filename PROTO ((const char *));
extern int wrapup_global_declarations PROTO ((union tree_node **, int)); extern int wrapup_global_declarations PROTO ((union tree_node **, int));
extern void check_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 */ #endif /* __GCC_TOPLEV_H */
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