diff options
author | Joseph Myers <joseph@codesourcery.com> | 2005-03-18 20:47:27 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2005-03-18 20:47:27 +0000 |
commit | c51a1ba9d9c605bcc8f9ddb34965708037457f68 (patch) | |
tree | 079951eb2db644175096b5fcc82f3144eb9b7381 /gcc/c-format.c | |
parent | 33156717fa04cfb12d1b2c70ba1bdcd236e5a6b9 (diff) | |
download | gcc-c51a1ba9d9c605bcc8f9ddb34965708037457f68.zip gcc-c51a1ba9d9c605bcc8f9ddb34965708037457f68.tar.gz gcc-c51a1ba9d9c605bcc8f9ddb34965708037457f68.tar.bz2 |
c-common.c, [...]: Use %D for declarations in diagnostics and %E for identifiers, not %s.
* c-common.c, c-decl.c, c-format.c, c-typeck.c: Use %D for
declarations in diagnostics and %E for identifiers, not %s.
From-SVN: r96701
Diffstat (limited to 'gcc/c-format.c')
-rw-r--r-- | gcc/c-format.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/c-format.c b/gcc/c-format.c index a0ae154..914d6cc 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; } } |