[gnome-software] build: Enable C99 support in meson.build
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] build: Enable C99 support in meson.build
- Date: Wed, 16 Aug 2017 13:07:59 +0000 (UTC)
commit ecf5e47a148ef3b253787f979581b75d3e8eaf3d
Author: Philip Withnall <withnall endlessm com>
Date: Wed Aug 16 13:22:38 2017 +0100
build: Enable C99 support in meson.build
We use C99 features (gs-app.c), so need to explicitly enable them in
meson.build, as some compilers will not enable them automatically, and
will instead error when they encounter usage of C99.
Signed-off-by: Philip Withnall <withnall endlessm com>
https://bugzilla.gnome.org/show_bug.cgi?id=786368
meson.build | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meson.build b/meson.build
index 40ab6b1..473762f 100644
--- a/meson.build
+++ b/meson.build
@@ -1,7 +1,7 @@
project('gnome-software', 'c',
version : '3.25.90',
license : 'GPL-2.0+',
- default_options : ['warning_level=1'],
+ default_options : ['warning_level=1', 'c_std=c99'],
meson_version : '>=0.37.0'
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]