This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Silent -Wformat-truncation warnings in date_and_time.c.
- From: Dominique d'Humières <dominiq at lps dot ens dot fr>
- To: Martin Liška <mliska at suse dot cz>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 3 May 2019 16:45:13 +0200
- Subject: Re: [PATCH] Silent -Wformat-truncation warnings in date_and_time.c.
Martin,
With your patch I still see
../../../work/libgfortran/intrinsics/date_and_time.c:168:33: warning: '%03d' directive output may be truncated writing between 3 and 8 bytes into a region of size between 0 and 4 [-Wformat-truncation=]
TIA
Dominique