From 79c7495d7ca22a733cfe706d6b7822e82d2b3e54 Mon Sep 17 00:00:00 2001 Message-Id: <79c7495d7ca22a733cfe706d6b7822e82d2b3e54.1715416522.git.mdw@distorted.org.uk> From: Mark Wooding Date: Sat, 31 Jan 2009 12:55:37 +0000 Subject: [PATCH] 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. Organization: Straylight/Edgeware From: Richard Kettlewell http://code.google.com/p/disorder/issues/detail?id=24 --- libtests/Makefile.am | 1 + 1 file changed, 1 insertion(+) 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 -- [mdw]