From 75cf1d66b0a2bbc8e0deba416c49d7afa4fa7cd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 4 Jul 2017 17:59:15 -0400 Subject: [PATCH] meson: use -Wextra if available -Wextra was not added to CFLAGS under meson by default, as it is done by the autotools build. C.f. 218f46711115669c26389a5bad79e57aa3c37f66. --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index ce59d18b83..22fc8f5b52 100644 --- a/meson.build +++ b/meson.build @@ -230,7 +230,8 @@ if cxx.found() add_languages('cpp') endif -foreach arg : ['-Wundef', +foreach arg : ['-Wextra', + '-Wundef', '-Wlogical-op', '-Wmissing-include-dirs', '-Wold-style-definition',