[Bug c/28492] -Wsuggest-attribute=format points to vsnprintf() or related functions instead of the function that needs the attribute added

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 21 22:50:40 GMT 2024


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28492

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|-Wmissing-format-attribute  |-Wsuggest-attribute=format
                   |points to vsnprintf() or    |points to vsnprintf() or
                   |related functions instead   |related functions instead
                   |of the function that needs  |of the function that needs
                   |the attribute added         |the attribute added

--- Comment #7 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Manuel López-Ibáñez from comment #6)
> The option is called now -Wsuggest-attribute=format

OK, I fixed this part of the title now, too


More information about the Gcc-bugs mailing list