[pacman-dev] [PATCH v2] meson: use 'pedantic' compiler warning level by default

Anatol Pomozov anatol.pomozov at gmail.com
Thu Mar 26 21:07:26 UTC 2020


This sets parity with the autotools version of the build that has
-pedantic flag enbled unconditionally.

Signed-off-by: Anatol Pomozov <anatol.pomozov at gmail.com>
---
 meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meson.build b/meson.build
index 572526b2..fc81fa27 100644
--- a/meson.build
+++ b/meson.build
@@ -7,6 +7,7 @@ project('pacman',
           'prefix=/usr',
           'sysconfdir=/etc',
           'localstatedir=/var',
+          'warning_level=3',
         ],
         meson_version : '>= 0.51')
 
-- 
2.26.0


More information about the pacman-dev mailing list