Skip to content

Fix Meson version required for C23 support

Alistair Buxton requested to merge ali1234/wlroots:master into master

Attempting to build with Meson 1.3.2 (current version in Ubuntu 24.04 LTS) gives the following error:

meson.build:1:0: ERROR: Unknown C std ['c23'].

This is because C23 support was not added until Meson 1.4.0.

See:

https://github.com/mesonbuild/meson/blob/1.3.2/mesonbuild/compilers/c.py#L59 https://github.com/mesonbuild/meson/blob/1.4.0/mesonbuild/compilers/c.py#L49

Merge request reports

Loading