Peter Maydell <peter.mayd...@linaro.org> writes: > On 4 August 2015 at 13:46, Aurelien Jarno <aurel...@aurel32.net> wrote: >> On 2015-08-04 13:40, Peter Maydell wrote: >>> On 3 August 2015 at 10:14, Alex Bennée <alex.ben...@linaro.org> 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