GNOME Bugzilla – Bug 721132
Support build with -Werror=format-security
Last modified: 2014-01-08 08:32:12 UTC
Recently Fedora has added "-Werror=format-string" to compiler flag to strengten security defence, ref: https://fedoraproject.org/wiki/Changes/FormatSecurity https://fedoraproject.org/wiki/Format-Security-FAQ https://lists.fedoraproject.org/pipermail/devel/2013-November/192281.html Currently released 1.2.8.16 tarball, git gcmd-1-2-8 branch, git master branch, all fail to build with this flag. Please support build with -Werror=format-string
Created attachment 264934 [details] [review] Patch for master branch
Created attachment 264935 [details] [review] Patch for gcmd-1-2-8 branch
Oops... actually "-Werror=format-security"
Thank you! I committed your patches. But I cant change bug status by now, as I don't have permissions yet.
Build with -Werror=format-security is supported in the next release and in the current master- and gcmd-1.2.8.branch.