https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87593
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-10-11 Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> --- Okay, I think we talked about this once before. It would make more sense to have format_arg take multiple arguments so that a single attribute could specify all the function parameters it's meant to apply to. I posted a documentation patch to mention the use case in the manual: https://gcc.gnu.org/ml/gcc-patches/2018-10/msg00701.html I'll keep this open until the warning has been added for the multiple declaration with distinct format_arg arguments.