OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2005-06-14 Ed Schonberg <schonberg@adacore.com>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
c-format.c
diff --git
a/gcc/c-format.c
b/gcc/c-format.c
index
f413e39
..
f27d6d0
100644
(file)
--- a/
gcc/c-format.c
+++ b/
gcc/c-format.c
@@
-833,7
+833,8
@@
check_function_format (tree attrs, tree params)
break;
}
if (args != 0)
- warning (0, "function might be possible candidate for %qs format attribute",
+ warning (OPT_Wattributes, "function might be possible "
+ "candidate for %qs format attribute",
format_types[info.format_type].name);
}
}