- implemented -Wsign-compare
[cparser] / diagnostic.h
index 1b07521..b24956b 100644 (file)
@@ -3,11 +3,15 @@
 
 #include "token_t.h"
 
-
 void diagnosticf(const char *fmt, ...);
 void errorf(source_position_t pos, const char *fmt, ...);
 void warningf(source_position_t pos, const char *fmt, ...);
 
-extern bool found_error;
+extern unsigned diagnostic_count;
+extern unsigned error_count;
+extern unsigned warning_count;
+
+/* true if warnings should be inhibited */
+extern bool inhibit_all_warnings;
 
 #endif