X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=gmqcc.h;h=9dc184657ccbb2a810dd7185bb0710d65a68ebe9;hp=3a47e74b8e87b532ddced13d6aedd7efbc1264dc;hb=5cfd97c344b5a3d90409cd0ba04b410b2cdd25b8;hpb=24f3098418003271b26b6f0f1ba6e8411fa6e672 diff --git a/gmqcc.h b/gmqcc.h index 3a47e74..9dc1846 100644 --- a/gmqcc.h +++ b/gmqcc.h @@ -685,12 +685,14 @@ int con_out (const char *, ...); /* error/warning interface */ extern size_t compile_errors; +extern size_t compile_Werrors; extern size_t compile_warnings; void /********/ compile_error (lex_ctx ctx, /*LVL_ERROR*/ const char *msg, ...); void /********/ vcompile_error (lex_ctx ctx, /*LVL_ERROR*/ const char *msg, va_list ap); bool GMQCC_WARN compile_warning (lex_ctx ctx, int warntype, const char *fmt, ...); bool GMQCC_WARN vcompile_warning(lex_ctx ctx, int warntype, const char *fmt, va_list ap); +void compile_show_werrors(); /*===================================================================*/ /*========================= assembler.c =============================*/