From: Wolfgang Bumiller Date: Tue, 15 Jan 2013 10:35:18 +0000 (+0100) Subject: add a hint about -fvariadic-args to -Wvariadic-function X-Git-Tag: before-library~258 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=ee7d45f492231cb1720b69b8daa8267f2673ccaf add a hint about -fvariadic-args to -Wvariadic-function --- diff --git a/parser.c b/parser.c index a972ea5..5bae9da 100644 --- a/parser.c +++ b/parser.c @@ -3805,7 +3805,7 @@ static bool parse_function_body(parser_t *parser, ast_value *var) if (!OPTS_FLAG(VARIADIC_ARGS) && var->expression.flags & AST_FLAG_VARIADIC) { if (parsewarning(parser, WARN_VARIADIC_FUNCTION, - "variadic function with implementation will not be able to access additional parameters")) + "variadic function with implementation will not be able to access additional parameters (try -fvariadic-args)")) { return false; }