meson: Use gnu99 as default C standard

This commit is contained in:
Marco Trevisan (Treviño) 2020-01-30 15:53:40 +01:00 committed by Benjamin Berg
parent 82ba69b1df
commit 15a90eb451

View file

@ -4,7 +4,7 @@ project('libfprint', [ 'c', 'cpp' ],
default_options: [ default_options: [
'buildtype=debugoptimized', 'buildtype=debugoptimized',
'warning_level=1', 'warning_level=1',
'c_std=c99', 'c_std=gnu99',
], ],
meson_version: '>= 0.49.0') meson_version: '>= 0.49.0')
@ -56,7 +56,6 @@ common_cflags = cc.get_supported_arguments([
'-DG_LOG_DOMAIN="@0@"'.format(meson.project_name()), '-DG_LOG_DOMAIN="@0@"'.format(meson.project_name()),
]) ])
c_cflags = cc.get_supported_arguments([ c_cflags = cc.get_supported_arguments([
'-std=gnu99',
'-Wimplicit-function-declaration', '-Wimplicit-function-declaration',
'-Wmissing-prototypes', '-Wmissing-prototypes',
'-Wnested-externs', '-Wnested-externs',