This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/22476] -Wmissing-format-attribute should pick out function pointer candidates also
- From: "ghazi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jul 2005 20:25:09 -0000
- Subject: [Bug c/22476] -Wmissing-format-attribute should pick out function pointer candidates also
- References: <20050714044824.22476.ghazi@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ghazi at gcc dot gnu dot org 2005-07-14 20:25 -------
(In reply to comment #3)
> convert_for_assignment would be a plausible place to add this check.
Agreed, I was just looking into that. It appears that it handles all the
various ways assignment can occur. (assign, init, param, and return stmt.)
So my concern from comment #2 is nicely handled here.
(right?)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22476