From f3a1c2341d4b90dd427614dfc8e2fe4a4b5a4de3 Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@collabora.com>
Date: Mon, 11 Nov 2019 17:09:21 +0000
Subject: [PATCH] build: Explicitly disable -Wpedantic

We're using GLib, and GLib explicitly doesn't support pedantic Standard C
compilers: it assumes and requires the ability to cast between function
pointers and data pointers.

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 afc01e046..1935013c6 100644
--- a/meson.build
+++ b/meson.build
@@ -99,6 +99,7 @@ warning_cxxflags = warning_flags + [
 
 no_warning_flags = [
     'missing-field-initializers',
+    'pedantic',
     'sign-compare',
     'unused-local-typedefs',
     'unused-parameter',
-- 
GitLab