From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMdtd-0005Gk-1i for qemu-devel@nongnu.org; Tue, 04 Aug 2015 11:12:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMdtW-0005EA-47 for qemu-devel@nongnu.org; Tue, 04 Aug 2015 11:12:52 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:33072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMdtV-0005E1-UG for qemu-devel@nongnu.org; Tue, 04 Aug 2015 11:12:46 -0400 Received: by wijp15 with SMTP id p15so10500715wij.0 for ; Tue, 04 Aug 2015 08:12:45 -0700 (PDT) References: <1438593291-27109-1-git-send-email-alex.bennee@linaro.org> <1438593291-27109-11-git-send-email-alex.bennee@linaro.org> <20150804124658.GC6574@aurel32.net> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: Date: Tue, 04 Aug 2015 16:12:43 +0100 Message-ID: <87fv3zkrys.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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 , Aurelien Jarno , Richard Henderson Peter Maydell writes: > On 4 August 2015 at 13:46, Aurelien Jarno wrote: >> On 2015-08-04 13:40, Peter Maydell wrote: >>> On 3 August 2015 at 10:14, Alex Bennée wrote: >>> > gcc_flags="-Wold-style-declaration -Wold-style-definition -Wtype-limits" >>> > -gcc_flags="-Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers $gcc_flags" >>> > +gcc_flags="-Wformat-security -Wno-format-y2k -Winit-self -Wignored-qualifiers $gcc_flags" >>> >>> 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. > > Agreed -- we don't want locale-specific log formats. Is is worth pulling out the standard log date fmt into a #define somewhere? > > thanks > -- PMM -- Alex Bennée