From: Richard Kettlewell Date: Sat, 31 Jan 2009 12:55:37 +0000 (+0000) Subject: Disable -Wformat-security for t-printf, which deliberately uses some X-Git-Tag: 4.3~10 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/79c7495d7ca22a733cfe706d6b7822e82d2b3e54?ds=inline Disable -Wformat-security for t-printf, which deliberately uses some dubious format strings. -Wformat-security goes back at least to GCC 3.0 so it's probably a safe bet to disable without a test. http://code.google.com/p/disorder/issues/detail?id=24 --- diff --git a/libtests/Makefile.am b/libtests/Makefile.am index e3a861e..2f81f20 100644 --- a/libtests/Makefile.am +++ b/libtests/Makefile.am @@ -46,6 +46,7 @@ t_kvp_SOURCES=t-kvp.c test.c test.h t_macros_SOURCES=t-macros.c test.c test.h t_mime_SOURCES=t-mime.c test.c test.h t_printf_SOURCES=t-printf.c test.c test.h +t_printf_CFLAGS=$(AM_CFLAGS) -Wno-format-security t_regsub_SOURCES=t-regsub.c test.c test.h t_selection_SOURCES=t-selection.c test.c test.h t_signame_SOURCES=t-signame.c test.c test.h