This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patches pending review from November
- To: Geoff Keating <geoffk at geoffk dot org>
- Subject: Re: Patches pending review from November
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Fri, 1 Dec 2000 22:19:08 +0000 (GMT)
- cc: <gcc-patches at gcc dot gnu dot org>
On 1 Dec 2000, Geoff Keating wrote:
> You're aware that the warning switched off by -Wno-format-extra-args
> is actually flagging a nonportability issue, right?
Since the C standard (both versions) says that extra format arguments are
ignored, and since generally variadic functions needn't consume their
variable arguments as long as va_start/va_copy (if called) is matched with
va_end, with what calling conventions (with which ISO C can be
implemented) is this non-portable?
--
Joseph S. Myers
jsm28@cam.ac.uk