[GRASS-dev] [Bug 1037102] grass FTBFS if "-Werror=format-security" flag is used

Hi,

in Fedora, a new bulk patch got prepared for addressing warnings
triggered by the "-Werror=format-security" flag.
This was discussed last year:
http://lists.osgeo.org/pipermail/grass-dev/2012-August/thread.html#59133

I suppose we should address this issue in our code base. I have
re-generated the diff against relbr64.
While it was decided to not go this way (in most cases) we may re-use
the patch which contains 120 modifications to come up with a better
solution.

Comments welcome,

Markus

---------- Forwarded message ----------
From: <bugzilla@redhat.com>
Date: Sun, Aug 10, 2014 at 8:30 AM
Subject: [Bug 1037102] grass FTBFS if "-Werror=format-security" flag is used

https://bugzilla.redhat.com/show_bug.cgi?id=1037102

--- Comment #4 from Ralf Corsepius ---
Created attachment 925470
  --> https://bugzilla.redhat.com/attachment.cgi?id=925470&action=edit
Patch to address -Werror=format-security issues

This is the patch, I had mentioned in
https://bugzilla.redhat.com/show_bug.cgi?id=1106720

It is supposed to fix the issues triggered compiling grass w/
-Werror=format-security.

Due to it's size, I am not expecting it to be bug-free and therefore would
rather see the patch only be applied to rawhide und until some more confidence
has been gained with it.

--
You are receiving this mail because:
You are on the CC list for the bug.

(attachments)

bulk_patch.diff (91 KB)