Use std=gnu11 (#940)
authorBernd Schubert <bernd.schubert@fastmail.fm>
Sat, 27 Apr 2024 12:25:48 +0000 (14:25 +0200)
committerGitHub <noreply@github.com>
Sat, 27 Apr 2024 12:25:48 +0000 (14:25 +0200)
commit8a9e2dc20c82259c9ded075f39383432c90d9786
treea9a346e16fa74216e962fecf7cbd3735602c0e3d
parentcdcaabd2c36b0949f34351a30c34147713147029
Use std=gnu11 (#940)

We already have some C11 pieces like Static_assert and we are likely
going to add more - tell meson to use C11.
Plain C11 does not work as there are several language extension,
like typeof - part of C23 only. We might be able to fix/workaround
such extensions with compiler ifdef, but then I prefer gnu11 over
checking which compiler is used (example gcc has __typeof vs
clangs __typeof++). And compiler extension would also defeat pedantic.
meson.build