- Add GCCPRINTF to ZScript compiler code.

This will help spotting errors in code using ZCCCompiler::{Warn,Error}.
This commit is contained in:
Edoardo Prezioso 2016-12-10 13:07:19 +01:00 committed by Christoph Oelckers
parent 810c632beb
commit 8036719f45

View file

@ -135,8 +135,8 @@ private:
ZCC_ExprTypeRef *NodeFromSymbolType(PSymbolType *sym, ZCC_Expression *idnode);
void Warn(ZCC_TreeNode *node, const char *msg, ...);
void Error(ZCC_TreeNode *node, const char *msg, ...);
void Warn(ZCC_TreeNode *node, const char *msg, ...) GCCPRINTF(3,4);
void Error(ZCC_TreeNode *node, const char *msg, ...) GCCPRINTF(3,4);
void MessageV(ZCC_TreeNode *node, const char *txtcolor, const char *msg, va_list argptr);
FxExpression *ConvertAST(PStruct *cclass, ZCC_TreeNode *ast);