On Mon, 21 Jul 2014 18:55:25 +0300 Samuli Suominen <ssuomi...@gentoo.org> wrote:
> But only -Wformat=2 has -Wformat-security. Do we enable -Wformat with > 1 or 2? The gcc info pages say: `-Wformat' [...] In Gentoo, this option is enabled by default for [...] `-Wformat-security' [...] In Gentoo, this option is enabled by default for [...] The relevant patches are found in cvs/gentoo/src/patchsets/gcc/*/gentoo/ and are generally named 10_all_default-fortify-source.patch 11_all_default-warn-format-security.patch jer