Enabling "-Werror=format-security" by default

David Smith dsmith at redhat.com
Wed Nov 20 17:16:17 UTC 2013

On 11/20/2013 10:51 AM, Dhiru Kholia wrote:
> On 11/20/13 at 09:27pm, Dhiru Kholia wrote:
>> We are working on a proposal to enable "-Werror=format-security"
>> compilation flag for all packages in Fedora.
>> Currently, around 400 packages FTBFS if this flag is enabled.
> A list of packages which FTBFS is available at,
> http://people.fedoraproject.org/~halfie/rebuild-logs.txt

Looking at the list, I see several (~17) packages with errors of the form:

error: -Wformat-security ignored without -Wformat [-Werror=format-security]

Which is an error, but not exactly what you are trying to catch. Got any
ideas on what is going on here?

David Smith
dsmith at redhat.com
Red Hat
256.217.0141 (direct)
256.837.0057 (fax)

More information about the devel mailing list