[rhythmbox] build: enable more compiler warnings
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] build: enable more compiler warnings
- Date: Sat, 27 Nov 2021 11:05:37 +0000 (UTC)
commit fa15873aebe02144f9b68548c33af5f3188bc130
Author: Jonathan Matthew <jonathan d14n org>
Date: Thu Nov 25 21:52:16 2021 +1000
build: enable more compiler warnings
meson.build | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 58ff970c6..3c963c3dd 100644
--- a/meson.build
+++ b/meson.build
@@ -22,7 +22,15 @@ common_cflags = [
'-DGLIB_DISABLE_DEPRECATION_WARNINGS',
]
test_cflags = [
- '-Wno-deprecated-declarations'
+ '-Wno-deprecated-declarations',
+ '-Wformat=2',
+ '-Wno-format-nonliteral',
+ '-Wmissing-declarations',
+ '-Wmissing-prototypes',
+ '-Wnested-externs',
+ '-Wpointer-arith',
+ '-Wcast-align',
+ '-Wstrict-prototypes',
]
common_cflags += cc.get_supported_arguments (test_cflags)
add_project_arguments(common_cflags, language: 'c')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]