All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dev86: use gnu17 and ignore incompatible-pointer-types to allow building with gcc-15
@ 2025-05-04 20:34 martin.jansa
  2025-05-06  1:45 ` [meta-virtualization] " Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: martin.jansa @ 2025-05-04 20:34 UTC (permalink / raw)
  To: meta-virtualization; +Cc: Martin Jansa

From: Martin Jansa <martin.jansa@gmail.com>

The repo from SRC_URI is no longer accessible add temporary
work around to allow building with gcc-15.

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
---
 recipes-extended/dev86/dev86_git.bb | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/recipes-extended/dev86/dev86_git.bb b/recipes-extended/dev86/dev86_git.bb
index 6414ecfb..d43d1200 100644
--- a/recipes-extended/dev86/dev86_git.bb
+++ b/recipes-extended/dev86/dev86_git.bb
@@ -57,4 +57,11 @@ FILES:${PN} += "${libdir}/bcc"
 # unproto.c:188:51: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
 CFLAGS += "-Wno-error=implicit-int -Wno-error=implicit-function-declaration"
 
+# http://errors.yoctoproject.org/Errors/Details/853302/
+CFLAGS += "-std=gnu17"
+
+# http://errors.yoctoproject.org/Errors/Details/853303/
+# ar.c:615:23: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types]
+CFLAGS += "-Wno-error=incompatible-pointer-types"
+
 EXTRA_OEMAKE += "CFLAGS='${CFLAGS}'"


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-05-06  1:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-04 20:34 [PATCH] dev86: use gnu17 and ignore incompatible-pointer-types to allow building with gcc-15 martin.jansa
2025-05-06  1:45 ` [meta-virtualization] " Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.