From 6c913af95d24fd9bca8c4291ca46078368785f66 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Thu, 9 Feb 2023 11:48:20 +1000 Subject: [PATCH] Add the -pedantic' compiler flag back to our debug builds This was lost in the transition from autotools to meson. No additional warnings are given with current gcc and clang. Signed-off-by: Allan McRae --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 89712c97..dbc599ea 100644 --- a/meson.build +++ b/meson.build @@ -190,6 +190,7 @@ endif if get_option('debug') extra_cflags = [ + '-pedantic', '-Wcast-align', '-Wclobbered', '-Wempty-body',