[gnome-logs] build: Remove explicit '-Wall'
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-logs] build: Remove explicit '-Wall'
- Date: Fri, 23 Sep 2022 22:15:39 +0000 (UTC)
commit f752a5026b8c71eee26dd8ffbfa3770b2c3b9b64
Author: Emmanuele Bassi <ebassi gnome org>
Date: Fri Sep 23 23:06:14 2022 +0100
build: Remove explicit '-Wall'
Use Meson's warning_level option, as it avoids a warning at
configuration time.
meson.build | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index ad9fb97..19c487d 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,4 @@
-project('gnome-logs', 'c', version : '43.beta')
+project('gnome-logs', 'c', version : '43.beta', default_options : ['warning_level=1'])
gl_name = meson.project_name()
gl_version = meson.project_version()
@@ -13,7 +13,6 @@ gl_pkgdatadir = join_paths(gl_datadir, gl_name)
# warning cflags
warning_cflags = [
- '-Wall',
'-Wstrict-prototypes',
'-Wnested-externs',
'-Werror=missing-prototypes',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]