Commit ba03f9e6 authored by Philip Withnall's avatar Philip Withnall

build: Enable C99 support in

We use C99 features (tmpl-branch-node.c), so need to explicitly
enable them in, as some compilers will not enable them
automatically, and will instead error when they encounter usage of C99.

Further, enable gnu11, as per previous patches to other projects, where
Christian wants to also be able to use GNU extensions. (See, for example.)
Signed-off-by: Philip Withnall's avatarPhilip Withnall <>
parent c2a9e4ad
......@@ -2,7 +2,7 @@ project('template-glib', 'c',
version: '3.26.0',
license: 'LGPLv2.1+',
meson_version: '>= 0.40.1',
default_options: [ 'warning_level=1', 'buildtype=debugoptimized' ],
default_options: [ 'warning_level=1', 'buildtype=debugoptimized', 'c_std=gnu11' ],
version_arr = meson.project_version().split('.')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment