summaryrefslogtreecommitdiffstats
path: root/contrib/gcc
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-04-18 20:01:07 +0000
committerobrien <obrien@FreeBSD.org>2000-04-18 20:01:07 +0000
commit5295026471d258daf795fb18deb5511576831b57 (patch)
tree79dd2e9fa4aa34c73d72553072eafd7262403fdd /contrib/gcc
parent3b6430fd03b7e4998588d0ca062ca8e62063f112 (diff)
downloadFreeBSD-src-5295026471d258daf795fb18deb5511576831b57.zip
FreeBSD-src-5295026471d258daf795fb18deb5511576831b57.tar.gz
Clarify that the "yields only last 2 digits of year in some locales" warning
does not apply to BSD. Submitted by: ache
Diffstat (limited to 'contrib/gcc')
-rw-r--r--contrib/gcc/c-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc/c-common.c b/contrib/gcc/c-common.c
index a76dea5..aeb08fd 100644
--- a/contrib/gcc/c-common.c
+++ b/contrib/gcc/c-common.c
@@ -1802,7 +1802,7 @@ check_format_info (info, params)
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",
+ warning ("`%%%c' yields only last 2 digits of year in some locales on non-BSD systems",
format_char);
if (precise && index (fci->flag_chars, 'p') == 0)
warning ("precision used with `%c' format", format_char);
OpenPOWER on IntegriCloud