diff options
Diffstat (limited to 'include/cps/FunctionGen.h')
| -rw-r--r-- | include/cps/FunctionGen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cps/FunctionGen.h b/include/cps/FunctionGen.h index a50e70b..a176e84 100644 --- a/include/cps/FunctionGen.h +++ b/include/cps/FunctionGen.h @@ -72,7 +72,7 @@ private: IdentifierMap<SymbolInfo> &Symbols; bool &HadError; int &DiagnosticLine; - void reportError(const char *Fmt, ...); + __attribute__((format(printf, 2, 3))) void reportError(const char *Fmt, ...); IdentifierMap<std::deque<FuncSig>> Signatures; IdentifierMap<std::pair<std::string, size_t>> LinkIndex; |
