From: Yu Watanabe Date: Fri, 11 Mar 2022 06:13:23 +0000 (+0900) Subject: meson: move to c_std=gnu11 X-Git-Tag: v251-rc1~162^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b2dbcbbeb999767c63b85822689ab2fd5ef1865;p=thirdparty%2Fsystemd.git meson: move to c_std=gnu11 Recently, the kernel communitiy started to discuss to move C11 (gnu11) [1], and it seems to come near future. Let's also move to c_std=gnu11. Unlike the kernel, we already uses gnu99, hence hopefully we can move to C11 without changing anything. [1] https://lore.kernel.org/lkml/CAHk-=wiyCH7xeHcmiFJ-YgXUy2Jaj7pnkdKpcovt8fYbVFW3TA@mail.gmail.com/ --- diff --git a/meson.build b/meson.build index 6ce7b01c0b4..107192b2112 100644 --- a/meson.build +++ b/meson.build @@ -4,7 +4,7 @@ project('systemd', 'c', version : '250', license : 'LGPLv2+', default_options: [ - 'c_std=gnu99', + 'c_std=gnu11', 'prefix=/usr', 'sysconfdir=/etc', 'localstatedir=/var',