X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=conout.c;h=1d34b164842a54731ba3499642f3dba875094e61;hp=c22758be9c178a43a7ac61617405a7124fcd7b4f;hb=65a2b83abd5d5e04a60e0c9000195643fa9c7757;hpb=19331ee385cb3c39139a284e2ab1053420b18fe3 diff --git a/conout.c b/conout.c index c22758b..1d34b16 100644 --- a/conout.c +++ b/conout.c @@ -213,8 +213,7 @@ void con_cprintmsg(lex_ctx_t ctx, int lvl, const char *msgtype, const char *msg, va_end (va); } -#ifndef QCVM_EXECUTOR -/* General error interface */ +/* General error interface: TODO seperate as part of the compiler front-end */ size_t compile_errors = 0; size_t compile_warnings = 0; size_t compile_Werrors = 0; @@ -279,4 +278,3 @@ bool GMQCC_WARN compile_warning(lex_ctx_t ctx, int warntype, const char *fmt, .. va_end(ap); return r; } -#endif