[libglnx/wip/smcv/warnings] build: Reduce default warning level from 3 to 2
- From: Simon McVittie <smcv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libglnx/wip/smcv/warnings] build: Reduce default warning level from 3 to 2
- Date: Wed, 27 Jul 2022 12:57:39 +0000 (UTC)
commit af02572e6bd5d36fd5c45252723ec8916e6c220f
Author: Simon McVittie <smcv collabora com>
Date: Wed Jul 27 13:57:19 2022 +0100
build: Reduce default warning level from 3 to 2
Warning level 2 is -Wall -Wextra, and warning level 3 adds -Wpedantic
(warnings about use of non-ISO extensions). libglnx is intentionally
using non-ISO features, so -Wpedantic is counterproductive.
Signed-off-by: Simon McVittie <smcv collabora com>
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 4787c85..38ec2ea 100644
--- a/meson.build
+++ b/meson.build
@@ -7,7 +7,7 @@ project(
'c',
default_options : [
'c_std=gnu99',
- 'warning_level=3',
+ 'warning_level=2',
],
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]