This fixes building with GCC 7.1
Error:
../lib/replace/test/testsuite.c:355:6: error: ā%dā directive output
truncated writing 1 byte into a region of size 0
[-Werror=format-truncation=]
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source='''test/testsuite.c test/strptime.c
test/os2_delete.c test/getifaddrs.c''',
deps='replace',
- cflags="-Wno-format-zero-length")
+ cflags="-Wno-format-zero-length -Wno-format-truncation")
if bld.env.standalone_replace:
bld.SAMBA_BINARY('replace_testsuite',