From 782858b8cb5960a958ff47f1fe62fd9896596002 Mon Sep 17 00:00:00 2001 From: jsm28 Date: Fri, 18 Mar 2005 20:47:27 +0000 Subject: * c-common.c, c-decl.c, c-format.c, c-typeck.c: Use %D for declarations in diagnostics and %E for identifiers, not %s. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96701 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/c-format.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/c-format.c') diff --git a/gcc/c-format.c b/gcc/c-format.c index a0ae154ab4f..914d6cc9792 100644 --- a/gcc/c-format.c +++ b/gcc/c-format.c @@ -199,7 +199,8 @@ decode_format_attr (tree args, function_format_info *info, int validated_p) if (info->format_type == format_type_error) { gcc_assert (!validated_p); - warning ("%qs is an unrecognized format function type", p); + warning ("%qE is an unrecognized format function type", + format_type_id); return false; } } -- cgit v1.2.1