From 43def1b3a5a9a9858c8ddae94cf4d06a4b75f3d8 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 19 Jul 2019 08:01:59 +1000 Subject: [PATCH] meson.build: enable -Werror=format-security We don't want to accidentally ignore those. Signed-off-by: Peter Hutterer --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index e65a9f99..887a03b7 100644 --- a/meson.build +++ b/meson.build @@ -31,6 +31,7 @@ cc = meson.get_compiler('c') cflags = ['-Wno-unused-parameter', '-fvisibility=hidden', '-Wmissing-prototypes', + '-Werror=format-security', '-Wstrict-prototypes'] add_project_arguments(cflags, language: 'c')