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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msebor at gcc dot gnu.org

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
FWIW, if printing a new note is a concern, perhaps simply enhancing the
existing warning to mention the appropriate format specifier for the type along
the following lines might be less nannying:

warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type
‘long long int’ which requires ’%lli’ [-Wformat=]

Reply via email to