From: Yu Watanabe Date: Sun, 16 Mar 2025 01:05:17 +0000 (+0900) Subject: meson: update C standards table for building header tests X-Git-Tag: v258-rc1~1064^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F35085%2Fhead;p=thirdparty%2Fsystemd.git meson: update C standards table for building header tests --- diff --git a/src/systemd/meson.build b/src/systemd/meson.build index 06ba4cbc075..eae027dafa2 100644 --- a/src/systemd/meson.build +++ b/src/systemd/meson.build @@ -65,11 +65,12 @@ endif opts = [['c'], ['c', '-ansi'], - ['c', '-std=iso9899:1990'], - ['c', '-std=iso9899:2011']] + ['c', '-std=iso9899:1990'], # C90 + ['c', '-std=iso9899:1999'], # C99 + ['c', '-std=iso9899:2011']] # C11 -foreach opt : ['-std=iso9899:2017', - '-std=c23', +foreach opt : ['-std=iso9899:2018', # C17 + '-std=iso9899:2024', # C23 ] if cc.has_argument(opt) opts += [['c', opt]]