From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: raj.khem@gmail.com, openembedded-core@lists.openembedded.org
Cc: Khem Raj <khem.raj@oss.qualcomm.com>
Subject: Re: [OE-core] [PATCH] db: Pin to use C99 std
Date: Fri, 10 Apr 2026 14:15:52 +0100 [thread overview]
Message-ID: <c8e3d16047191a697c26bfdfd7885fa8f560a7dc.camel@linuxfoundation.org> (raw)
In-Reply-To: <20260408044737.696968-1-khem.raj@oss.qualcomm.com>
On Tue, 2026-04-07 at 21:47 -0700, Khem Raj via lists.openembedded.org wrote:
> GCC-15 has switched to using C23 by default, we have been selectively
> disabling warnings as errors to get by, however with autoconf 2.72 adding
> -std=gnu23 it now gets enabled for every compiler and clang-22 is more
> obidient and has dropped support for K&R C completely. db5 code has a lot
> of K&R C prototypes and it starts to fail vigorously. We can not keep
> working around with out uplifting sources to be compliant with newer C
> standard like C23.
>
> Therefore pin the cflags to use C99 standard as this package expects.
>
> Drop the code to disable warnings as errors selectively.
>
> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
> ---
> meta/recipes-support/db/db_5.3.28.bb | 9 ++++-----
> 1 file changed, 4 insertions(+), 5 deletions(-)
This seemed to trigger failures for me, e.g.:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/74/builds/3538#bb-step-15
Cheers,
Richard
next prev parent reply other threads:[~2026-04-10 13:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-08 4:47 [PATCH] db: Pin to use C99 std Khem Raj
2026-04-10 13:15 ` Richard Purdie [this message]
2026-04-10 13:38 ` [OE-core] " Mathieu Dubois-Briand
2026-04-10 14:00 ` 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=c8e3d16047191a697c26bfdfd7885fa8f560a7dc.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=khem.raj@oss.qualcomm.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=raj.khem@gmail.com \
/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