* [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
* Re: [meta-virtualization] [PATCH] dev86: use gnu17 and ignore incompatible-pointer-types to allow building with gcc-15
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 ` Bruce Ashfield
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2025-05-06 1:45 UTC (permalink / raw)
To: martin.jansa; +Cc: meta-virtualization
Thanks Martin,
All of the gcc-15 patches are now on master.
Bruce
In message: [meta-virtualization] [PATCH] dev86: use gnu17 and ignore incompatible-pointer-types to allow building with gcc-15
on 04/05/2025 Martin Jansa via lists.yoctoproject.org wrote:
> 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}'"
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#9241): https://lists.yoctoproject.org/g/meta-virtualization/message/9241
> Mute This Topic: https://lists.yoctoproject.org/mt/112618426/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).