From 72d8a0f5121182abce48b1746f96608db117b4e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Mon, 27 Jan 2020 19:11:39 +0100 Subject: [PATCH] build: Enable -Werror on redundant declarations Now that we've fixed our own errors. --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 4729838..c57bfc3 100644 --- a/meson.build +++ b/meson.build @@ -40,6 +40,7 @@ common_cflags = cc.get_supported_arguments([ '-Werror=missing-braces', '-Werror=nonnull', '-Werror=pointer-to-int-cast', + '-Werror=redundant-decls', '-Werror=return-type', '-Werror=sequence-point', '-Werror=trigraphs',