From: Changqing Li <changqing.li@windriver.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [scarthgap][PATCH] expect-native: fix do_compile failure with gcc-14
Date: Tue, 27 Aug 2024 14:20:07 +0800 [thread overview]
Message-ID: <2f2d2431-83fb-4f8b-a5ef-699f906ca9a9@windriver.com> (raw)
In-Reply-To: <17EF8144B2D2A6D7.8904@lists.openembedded.org>
[-- Attachment #1: Type: text/plain, Size: 1675 bytes --]
This patch is not needed for master, as master already drop the override
in native.bbclass.
//Changqing
On 8/27/24 14:15, Changqing Li via lists.openembedded.org wrote:
> From: Changqing Li<changqing.li@windriver.com>
>
> In native.bbclass, CFLAGS is overrided by 'CFLAGS = "${BUILD_CFLAGS}"',
> this make "CFLAGS +=" not work for expect-native, use append to make it
> also work for native.
>
> Signed-off-by: Changqing Li<changqing.li@windriver.com>
> ---
> meta/recipes-devtools/expect/expect_5.45.4.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/expect/expect_5.45.4.bb b/meta/recipes-devtools/expect/expect_5.45.4.bb
> index 174b35ec73..158e7af030 100644
> --- a/meta/recipes-devtools/expect/expect_5.45.4.bb
> +++ b/meta/recipes-devtools/expect/expect_5.45.4.bb
> @@ -85,4 +85,4 @@ BBCLASSEXTEND = "native nativesdk"
>
> #http://errors.yoctoproject.org/Errors/Details/766950/
> # expect5.45.4/exp_chan.c:62:5: error: initialization of 'struct Tcl_ChannelTypeVersion_ *' from incompatible pointer type 'int (*)(void *, int)' [-Wincompatible-pointer-types]
> -CFLAGS += "-Wno-error=incompatible-pointer-types"
> +CFLAGS:append = " -Wno-error=incompatible-pointer-types"
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#203812):https://lists.openembedded.org/g/openembedded-core/message/203812
> Mute This Topic:https://lists.openembedded.org/mt/108118728/3616873
> Group Owner:openembedded-core+owner@lists.openembedded.org
> Unsubscribe:https://lists.openembedded.org/g/openembedded-core/unsub [changqing.li@windriver.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
[-- Attachment #2: Type: text/html, Size: 2954 bytes --]
parent reply other threads:[~2024-08-27 6:20 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <17EF8144B2D2A6D7.8904@lists.openembedded.org>]
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=2f2d2431-83fb-4f8b-a5ef-699f906ca9a9@windriver.com \
--to=changqing.li@windriver.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