Re: [PATCH] Specify -Wformat along with -Wformat-security
- Date: Thu, 27 Dec 2018 10:46:34 -0800
- From: Masaya Suzuki <masayasuzuki@xxxxxxxxxx>
- Subject: Re: [PATCH] Specify -Wformat along with -Wformat-security
On Thu, Dec 27, 2018 at 10:36 AM Duy Nguyen <pclouds@xxxxxxxxx> wrote:
> On Thu, Dec 27, 2018 at 7:18 PM Masaya Suzuki <masayasuzuki@xxxxxxxxxx> wrote:
> > Without -Wformat, -Wformat-security won't work.
> > > cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
> Compiler name and version?
I'm not familar with the tools, so please be patient.
According to Makefile, `CC = cc`. With `cc --version`, it says:
cc (Debian 7.3.0-5) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Jonathan said there was the same patch. Looks like
I'll check my config again.