[gtksourceview/gtksourceview-4-8] build: disable -Werror for incompatible-pointer-types
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/gtksourceview-4-8] build: disable -Werror for incompatible-pointer-types
- Date: Thu, 15 Apr 2021 15:11:35 +0000 (UTC)
commit d1ed58b2ab82bd5be55881088fc17ff1527511db
Author: Christian Hergert <chergert redhat com>
Date: Thu Apr 15 08:11:22 2021 -0700
build: disable -Werror for incompatible-pointer-types
This causes an issue with volatile and GLib in some configurations, so
just keep it out for now. We will bring it back at some point going
forward.
We are already doing the same in 5.0.
Fixes #179
meson.build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 826a3121..6ff5b155 100644
--- a/meson.build
+++ b/meson.build
@@ -181,7 +181,8 @@ else
'-Werror=empty-body',
'-Werror=implicit',
'-Werror=implicit-function-declaration',
- '-Werror=incompatible-pointer-types',
+ # Disabled due to volatile changes in GLib
+ # '-Werror=incompatible-pointer-types',
'-Werror=init-self',
'-Werror=int-conversion',
'-Werror=int-to-pointer-cast',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]