Source-Changes-HG archive

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

[src/trunk]: src/gnu/dist/toolchain/gcc Accept -Wno-format-extra-args as a co...



details:   https://anonhg.NetBSD.org/src/rev/9871af182c79
branches:  trunk
changeset: 503116:9871af182c79
user:      tv <tv%NetBSD.org@localhost>
date:      Wed Jan 31 19:56:28 2001 +0000

description:
Accept -Wno-format-extra-args as a compatibility no-op until the next gcc
release (which handles this situation more cleanly).

diffstat:

 gnu/dist/toolchain/gcc/c-decl.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r cc33f7f2ace4 -r 9871af182c79 gnu/dist/toolchain/gcc/c-decl.c
--- a/gnu/dist/toolchain/gcc/c-decl.c   Wed Jan 31 19:55:23 2001 +0000
+++ b/gnu/dist/toolchain/gcc/c-decl.c   Wed Jan 31 19:56:28 2001 +0000
@@ -812,6 +812,8 @@
     warn_format = 1;
   else if (!strcmp (p, "-Wno-format-y2k"))
     { /* XXX: NetBSD compatibility until next gcc release */ }
+  else if (!strcmp (p, "-Wno-format-extra-args"))
+    { /* XXX: NetBSD compatibility until next gcc release */ }
   else if (!strcmp (p, "-Wno-format"))
     warn_format = 0;
   else if (!strcmp (p, "-Wchar-subscripts"))



Home | Main Index | Thread Index | Old Index