From 2e368cdccdcadccd0367c7205c0e9bb77d46dc9a Mon Sep 17 00:00:00 2001 From: obrien Date: Fri, 25 May 2001 19:00:07 +0000 Subject: Teach gcc about '%+' so it will not warn when using '%+' in a format string when using strftime(), since our libc supports it. PR: 26827 Submitted by: Marc Olzheim --- contrib/gcc/c-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/gcc') diff --git a/contrib/gcc/c-common.c b/contrib/gcc/c-common.c index aeb08fd..c433255 100644 --- a/contrib/gcc/c-common.c +++ b/contrib/gcc/c-common.c @@ -1155,7 +1155,7 @@ static format_char_info time_char_table[] = { { "D", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, "2" }, { "g", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, "2O-_0w" }, { "cx", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, "3E" }, - { "%RTXnrt", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, "" }, + { "%+RTXnrt", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, "" }, { "P", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, "G" }, { "HIMSUWdemw", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, "-_0Ow" }, { "Vju", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, "-_0Oow" }, -- cgit v1.1