[Bug other/80895] format not a string literal and no format arguments; in GCC itself

miloradovsky at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat May 27 08:46:00 GMT 2017


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

Andrew Miloradovsky <miloradovsky at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #8 from Andrew Miloradovsky <miloradovsky at gmail dot com> ---
Well, then it seems like

- the entire patch is wrong, and all those changes shouldn't be made
- inserting the comment before every diagnostic output call is not worth it
- in future, this mechanism may be changed, to filter out the warnings
- but, ATM, format-security should always be disabled when compiling GCC
- so the "bug" may be closed now; at least I learned something new; thanks


More information about the Gcc-bugs mailing list