[libglnx/wip/smcv/warnings: 7/7] meson: Build with more warnings by default
- From: Simon McVittie <smcv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libglnx/wip/smcv/warnings: 7/7] meson: Build with more warnings by default
- Date: Sun, 24 Apr 2022 10:09:26 +0000 (UTC)
commit 9f033ee2f6fb2b7ef238b4d6609d55a1e1e8e3e2
Author: Simon McVittie <smcv collabora com>
Date: Sun Apr 24 11:08:01 2022 +0100
meson: Build with more warnings by default
If we keep this module closer to warnings-clean, then it can be
submoduled into Meson projects that enable warnings by default without
having to override it to a lower warning-level.
Signed-off-by: Simon McVittie <smcv collabora com>
meson.build | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/meson.build b/meson.build
index 6714dc2..08622f2 100644
--- a/meson.build
+++ b/meson.build
@@ -7,6 +7,7 @@ project(
'c',
default_options : [
'c_std=gnu99',
+ 'warning_level=3',
],
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]