[gnome-builder] build: disable -Wdangling-pointer
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] build: disable -Wdangling-pointer
- Date: Fri, 11 Feb 2022 22:24:44 +0000 (UTC)
commit e9e8f188a48495ea0185ad67fbdd2506bd3aa897
Author: Christian Hergert <chergert redhat com>
Date: Fri Feb 11 14:24:35 2022 -0800
build: disable -Wdangling-pointer
This one is really annoying because it misfires on g_autoptr(GError) and
using the error ot print a message.
meson.build | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/meson.build b/meson.build
index bf77d0435..d3a148de0 100644
--- a/meson.build
+++ b/meson.build
@@ -174,6 +174,7 @@ test_c_args = [
'-Wmissing-noreturn',
'-Wnested-externs',
'-Wno-cast-function-type',
+ '-Wno-dangling-pointer',
'-Wno-missing-field-initializers',
'-Wno-sign-compare',
'-Wno-unused-parameter',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]