make-alpha
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bad format in function.c


From: Eli Zaretskii
Subject: Bad format in function.c
Date: Wed, 25 Jan 2012 16:31:36 +0200

In the current CVS, these two calls to `fatal' in
function.c:define_new_function:

  if (min < 0 || min > 255)
    fatal (flocp, _("Invalid minimum argument count (%d) for function %s%s\n"),
           min, name);
  if (max < 0 || max > 255 || max < min)
    fatal (flocp, _("Invalid maximum argument count (%d) for function %s%s\n"),
           max, name);

trigger compiler warnings about too many arguments, because of the
second %s.  Is this simply a typo in the format string, or was a 3rd
argument planned?  If the latter, what is that 3rd arg?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]