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 Completely nuke the strftime warnings...
details: https://anonhg.NetBSD.org/src/rev/6aa5289a3c76
branches: trunk
changeset: 503113:6aa5289a3c76
user: tv <tv%NetBSD.org@localhost>
date: Wed Jan 31 19:50:16 2001 +0000
description:
Completely nuke the strftime warnings for y2k. These are handled more
cleanly in the next version of gcc, and aren't critical to keep.
diffstat:
gnu/dist/toolchain/gcc/c-common.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diffs (15 lines):
diff -r 6d8ca50d5807 -r 6aa5289a3c76 gnu/dist/toolchain/gcc/c-common.c
--- a/gnu/dist/toolchain/gcc/c-common.c Wed Jan 31 19:37:32 2001 +0000
+++ b/gnu/dist/toolchain/gcc/c-common.c Wed Jan 31 19:50:16 2001 +0000
@@ -1722,11 +1722,6 @@
}
if (wide && index (fci->flag_chars, 'w') == 0)
warning ("width used with `%c' format", format_char);
- if (index (fci->flag_chars, '2') != 0)
- warning ("`%%%c' yields only last 2 digits of year", format_char);
- else if (index (fci->flag_chars, '3') != 0)
- warning ("`%%%c' yields only last 2 digits of year in some locales",
- format_char);
if (precise && index (fci->flag_chars, 'p') == 0)
warning ("precision used with `%c' format", format_char);
if (aflag && index (fci->flag_chars, 'a') == 0)
Home |
Main Index |
Thread Index |
Old Index