Skip to content
Snippets Groups Projects
Commit 69a0a88e authored by Simon McVittie's avatar Simon McVittie
Browse files

build: Allow C99 constructs


This is the default in newer compilers, but not in Steam Runtime 1
'scout'. Many GLib projects are stuck on C89 anyway because they
care about Microsoft Visual Studio's C compiler, but this project is
Linux-only code so we can rely on C99.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 84ec4222
No related branches found
No related tags found
1 merge request!17build: Allow C99 constructs
Pipeline #1276 passed
......@@ -88,6 +88,8 @@ foreach flag : no_warning_cflags
add_project_arguments(supported_no_warning_cflags, language : 'c')
endforeach
add_project_arguments(['-std=c99'], language : 'c')
glib = dependency(
'glib-2.0',
version : '>= 2.32',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment