[Bug c/22476] -Wmissing-format-attribute should pick out function pointer candidates also

ghazi at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jul 14 20:33:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list