GNOME Bugzilla – Bug 773063
Support gcc6 -Werror=format-security (1.6.0)
Last modified: 2016-10-18 16:09:15 UTC
Created attachment 337809 [details] [review] Patch to compile with -Werror=format-security Fedora 24 and above uses gcc 6.2.1 with -Werror=format-security and gcmd 1.6.0 does not compile with this option: gnome-commander-1.6.0/_builddir/../src/gnome-cmd-gkeyfile-utils.cc:109:35: error: format not a string literal and no format arguments [-Werror=format-security] written = fprintf(fd, contents); The attached patch (this is for 1.6.0) should fix this issue.
Thank you for the report and the attached bugfix. The fix will go into the next bugfix release of gcmd, v1.6.1.