On Thu, 16 Jul 2015 13:30:40 -0600, Josh Gadeken wrote:

> Here's a fix for the GCC 5 build issue. I added "-Wno-error=format-security"
> to the GNUmakefile. The package successfully builds and links using GCC 5
> with this change.

I don't think that's the best way forward. Since this is
security-relevant I think we should rather fix the problem than
ignoring the errors. And I remember that in some previous mass fix
campaign in Debian we already fixed quite a few
"-Werror=format-security" issues.
 
Please note that dpkg-buildflags sets "-Werror=format-security" by
default:

% dpkg-buildflags 
CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security
[..]


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Rolling Stones: She's A Rainbow (45 version)/She's a Rainbow - 2

Attachment: signature.asc
Description: Digital Signature

Reply via email to