From b3c348a18a3cf5d0da4434cee6b0128bbd5b5923 Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@collabora.com>
Date: Mon, 11 Nov 2019 17:28:37 +0000
Subject: [PATCH] build: 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 e6a7f67ac..65562c237 100644
--- a/meson.build
+++ b/meson.build
@@ -79,6 +79,7 @@ warning_cflags = [
 no_warning_cflags = [
     'declaration-after-statement',
     'missing-field-initializers',
+    'pedantic',
     'sign-compare',
     'unused-parameter',
 ]
-- 
GitLab