From a5e9ea7c28d1a59e80208226bfd65fcfd91e85cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 23 Aug 2020 09:49:15 +0200 Subject: [PATCH] meson: build with -pedantic --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index b5808ddc..07716979 100644 --- a/meson.build +++ b/meson.build @@ -18,7 +18,8 @@ add_project_arguments( ? ['-D_DEBUG'] : [cc.get_supported_arguments('-fno-asynchronous-unwind-tables')]) + cc.get_supported_arguments( - ['-fstrict-aliasing', + ['-pedantic', + '-fstrict-aliasing', '-Wstrict-aliasing']), language: 'c', )