From 15a90eb451249e550f2ee35fe4f61f3cc375651c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Thu, 30 Jan 2020 15:53:40 +0100 Subject: [PATCH] meson: Use gnu99 as default C standard --- meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 303ab5f..4d2ac25 100644 --- a/meson.build +++ b/meson.build @@ -4,7 +4,7 @@ project('libfprint', [ 'c', 'cpp' ], default_options: [ 'buildtype=debugoptimized', 'warning_level=1', - 'c_std=c99', + 'c_std=gnu99', ], meson_version: '>= 0.49.0') @@ -56,7 +56,6 @@ common_cflags = cc.get_supported_arguments([ '-DG_LOG_DOMAIN="@0@"'.format(meson.project_name()), ]) c_cflags = cc.get_supported_arguments([ - '-std=gnu99', '-Wimplicit-function-declaration', '-Wmissing-prototypes', '-Wnested-externs',