From ecb38b11993ff83c28b2588ad938fabf2b49c2c5 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 6 Dec 2022 15:22:40 +0000 Subject: [PATCH] Move to C11 Hey, it's only 11 years ago and I'd like to use _Generic. --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index f5846d21b..3efc26fa8 100644 --- a/meson.build +++ b/meson.build @@ -2,7 +2,7 @@ project('fwupd', 'c', version: '1.8.8', license: 'LGPL-2.1+', meson_version: '>=0.61.0', - default_options: ['warning_level=2', 'c_std=c99'], + default_options: ['warning_level=2', 'c_std=c11'], ) fwupd_version = meson.project_version() @@ -89,6 +89,7 @@ warning_flags = [ '-Wno-missing-field-initializers', '-Wno-strict-aliasing', '-Wno-suggest-attribute=format', + '-Wno-typedef-redefinition', '-Wno-unknown-warning-option', '-Wno-unused-parameter', '-Wold-style-definition',