From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMbcb-0007Pi-Lp for qemu-devel@nongnu.org; Tue, 04 Aug 2015 08:47:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMbcV-0003Nq-PK for qemu-devel@nongnu.org; Tue, 04 Aug 2015 08:47:09 -0400 Date: Tue, 4 Aug 2015 14:46:59 +0200 From: Aurelien Jarno Message-ID: <20150804124658.GC6574@aurel32.net> References: <1438593291-27109-1-git-send-email-alex.bennee@linaro.org> <1438593291-27109-11-git-send-email-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: Subject: Re: [Qemu-devel] [PATCH v4 10/11] vl.c: log system invocation when enabled List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Trivial , QEMU Developers , Peter Crosthwaite , Paolo Bonzini , Alex =?iso-8859-15?Q?Benn=E9e?= , Richard Henderson On 2015-08-04 13:40, Peter Maydell wrote: > On 3 August 2015 at 10:14, Alex Benn=E9e wrote: > > This makes it a little easier to remember how you generated that 100Mb > > trace log you saved for a future date. > > > > Signed-off-by: Alex Benn=E9e > > --- > > configure | 2 +- > > vl.c | 18 ++++++++++++++++++ > > 2 files changed, 19 insertions(+), 1 deletion(-) > > > > diff --git a/configure b/configure > > index 704b34c..9cc6a48 100755 > > --- a/configure > > +++ b/configure > > @@ -1445,7 +1445,7 @@ else > > fi > > > > gcc_flags=3D"-Wold-style-declaration -Wold-style-definition -Wtype-lim= its" > > -gcc_flags=3D"-Wformat-security -Wformat-y2k -Winit-self -Wignored-qual= ifiers $gcc_flags" > > +gcc_flags=3D"-Wformat-security -Wno-format-y2k -Winit-self -Wignored-q= ualifiers $gcc_flags" >=20 > Why do we need this warning switch change? Some locales might have the year on 2 digits only, so this triggers a warning. That's also a reason I suggested to use a fixed date format. --=20 Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://www.aurel32.net