On Friday, March 22, 2019 10:41:23 AM CET Jakub Jelinek wrote:
If we in Fedora made -Werror=format-security warning default, then
one couldn't out of box build gcc nor many other projects. Not to mention
that it is extremely nasty, because if e.g. some project uses -Wno-format
for selected source(s), then if -Werror=format-security is the default
(or just present in flags), then it causes errors as well.
Enforcing -Werror=format-security in Fedora build system was a mistake.
It made developers introduce new bugs while trying to fix nonsense build
failures, as in this example:
https://bugzilla.redhat.com/1025257#c5
Kamil