Gentoo Archives: gentoo-dev

From: Pacho Ramos <pacho@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Enable format-security in the dev profiles
Date: Mon, 21 Jul 2014 16:29:15
Message-Id: 1405960143.1013.7.camel@gentoo.org
In Reply to: Re: [gentoo-dev] Enable format-security in the dev profiles by Jeroen Roovers
1 El lun, 21-07-2014 a las 17:22 +0200, Jeroen Roovers escribió:
2 > On Mon, 21 Jul 2014 17:07:24 +0200
3 > Agostino Sarubbo <ago@g.o> wrote:
4 >
5 > > I don't see where I asked about -Werror instead of only -
6 > > Wformat.
7 >
8 > It's been enabled in stable GCC for four years and in unstable and the
9 > hardened profiles for much longer so asking about setting it in any
10 > profiles makes no sense.
11 >
12 > In trying to make sense of what you were asking, I thought it might be
13 > helpful to make mention of the -Werror=format-security that /you/ use
14 > in your new bug reports that block bug #259417 now.
15 >
16 >
17 > jer
18 >
19
20 Is -Werror=format-security so prone to give false warnings currently? I
21 think Fedora and Ubuntu enabled it by default recently:
22 https://fedorahosted.org/fesco/ticket/1185
23 https://wiki.ubuntu.com/ToolChain/CompilerFlags#A-Wformat_-Wformat-security
24 https://bugzilla.redhat.com/show_bug.cgi?id=1043495