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-y2k as a no-op, pe...
details: https://anonhg.NetBSD.org/src/rev/e86a3c83a29c
branches: trunk
changeset: 503114:e86a3c83a29c
user: tv <tv%NetBSD.org@localhost>
date: Wed Jan 31 19:52:09 2001 +0000
description:
Accept -Wno-format-y2k as a no-op, pending the next gcc version (which
handles strftime y2k warnings more cleanly).
diffstat:
gnu/dist/toolchain/gcc/c-decl.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 6aa5289a3c76 -r e86a3c83a29c gnu/dist/toolchain/gcc/c-decl.c
--- a/gnu/dist/toolchain/gcc/c-decl.c Wed Jan 31 19:50:16 2001 +0000
+++ b/gnu/dist/toolchain/gcc/c-decl.c Wed Jan 31 19:52:09 2001 +0000
@@ -810,6 +810,8 @@
warn_traditional = 0;
else if (!strcmp (p, "-Wformat"))
warn_format = 1;
+ else if (!strcmp (p, "-Wno-format-y2k"))
+ { /* 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