From e58703007c4eaecb9c8bcb50d08c86aaf8be0229 Mon Sep 17 00:00:00 2001 From: Yao Zi Date: Thu, 26 Sep 2024 14:38:36 +0000 Subject: [PATCH] meson.build: raise used C standard to C11 Some C11 features have been used, but meson.build still specifies c_std=c99, leading to errors on Clang compiler. Fixes: https://github.com/containers/composefs/issues/364 Signed-off-by: Yao Zi --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 0bb0461..e54c775 100644 --- a/meson.build +++ b/meson.build @@ -3,7 +3,7 @@ project( 'c', version : '1.0.6', default_options : [ - 'c_std=c99', + 'c_std=c11', 'warning_level=1', ], )