Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Khem Raj <raj.khem@gmail.com>
Subject: [PATCH 08/10] consolekit: Disable incompatible-pointer-types warning as error
Date: Mon,  6 May 2024 18:14:53 -0700	[thread overview]
Message-ID: <20240507011455.313230-8-raj.khem@gmail.com> (raw)
In-Reply-To: <20240507011455.313230-1-raj.khem@gmail.com>

Fixes build with gcc-14

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-support/consolekit/consolekit_0.4.6.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-support/consolekit/consolekit_0.4.6.bb b/meta/recipes-support/consolekit/consolekit_0.4.6.bb
index 346bd60e4d7..0f2153d493d 100644
--- a/meta/recipes-support/consolekit/consolekit_0.4.6.bb
+++ b/meta/recipes-support/consolekit/consolekit_0.4.6.bb
@@ -31,6 +31,9 @@ PACKAGECONFIG[pam] = "--enable-pam-module --with-pam-module-dir=${base_libdir}/s
 PACKAGECONFIG[polkit] = "--with-polkit,--without-polkit,polkit"
 PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir}/,--with-systemdsystemunitdir="
 
+# Fails to build with GCC14 with incompatible pointer error warning being treated as error
+CFLAGS += "-Wno-error=incompatible-pointer-types"
+
 FILES:${PN} += "${exec_prefix}/lib/ConsoleKit \
                 ${libdir}/ConsoleKit  ${systemd_unitdir} ${base_libdir} \
                 ${datadir}/dbus-1 ${datadir}/PolicyKit ${datadir}/polkit*"
-- 
2.45.0



  parent reply	other threads:[~2024-05-07  1:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-07  1:14 [PATCH 01/10] rng-tools: ignore incompatible-pointer-types errors for now Khem Raj
2024-05-07  1:14 ` [PATCH 02/10] expect: ignore various issues now fatal with gcc-14 Khem Raj
2024-05-07  1:14 ` [PATCH 03/10] libunwind: " Khem Raj
2024-05-07  1:14 ` [PATCH 04/10] zip lrzsz connman-gnome kea libfm: ignore various issues " Khem Raj
2024-05-07  5:07   ` Martin Jansa
2024-05-07  5:25     ` Khem Raj
2024-05-07  1:14 ` [PATCH 05/10] p11-kit: ignore various issues fatal with gcc-14 (for 32bit MACHINEs) Khem Raj
2024-05-07  1:14 ` [PATCH 06/10] pcmanfm: Disable incompatible-pointer-types warning as error Khem Raj
2024-05-07  1:14 ` [PATCH 07/10] kea: Remove -fvisibility-inlines-hidden from C++ flags Khem Raj
2024-05-07 10:07   ` [OE-core] " Alexander Kanavin
2024-05-07  1:14 ` Khem Raj [this message]
2024-05-07  1:14 ` [PATCH 09/10] gtk4: Disable int-conversion warning as error Khem Raj
2024-05-07  1:14 ` [PATCH 10/10] ltp: Fix build with GCC-14 Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240507011455.313230-8-raj.khem@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox