search for: e20721f5f

Displaying 1 result from an estimated 1 matches for "e20721f5f".

Did you mean: e20721f5
2019 Jan 21
1
[PATCH] build: Reduce -Wformat-overflow=2 to =1.
...:987:26: note: assuming directive output of 1 byte 987 | fprintf (fp, " %.*s = ", (int) k, values[j]); | ^~~~~~~~~~~ --- m4/guestfs-c.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/m4/guestfs-c.m4 b/m4/guestfs-c.m4 index 3fd44ed6b..e20721f5f 100644 --- a/m4/guestfs-c.m4 +++ b/m4/guestfs-c.m4 @@ -105,6 +105,9 @@ gl_WARN_ADD([-Wimplicit-fallthrough=4]) dnl GCC level 2 gives incorrect warnings, so use level 1. gl_WARN_ADD([-Wformat-truncation=1]) +dnl GCC 9 at level 2 gives apparently bogus errors when %.*s is used. +gl_WARN_ADD([-Wfo...