Enabling "-Werror=format-security" by default
Dhiru Kholia
dhiru.kholia at gmail.com
Wed Nov 20 16:51:10 UTC 2013
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
The fix for these errors is quite simple. It's a matter of changing a
line like,
printf(foo);
to read,
printf("%s", foo);
That's it.
...
Jerry, Kevin, all,
Thanks for the feedback. I will incorporate your suggestions.
--
Dhiru
More information about the devel
mailing list