From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98219F44868 for ; Fri, 10 Apr 2026 13:16:03 +0000 (UTC) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.155870.1775826955452597462 for ; Fri, 10 Apr 2026 06:15:56 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=B/vH219H; spf=pass (domain: linuxfoundation.org, ip: 209.85.221.44, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-43b983bb07eso1278370f8f.0 for ; Fri, 10 Apr 2026 06:15:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1775826954; x=1776431754; darn=lists.openembedded.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=8T7ZZqhyotMF0Ly/TXsxkAtQ2hK1aXj/AQVomg3iEtI=; b=B/vH219H2YIcYsZGGAGKLwNWBL7aFQhjHERRIB6tdTpeJUcYXdYGvXI4IvWwQZ5M1l WAw2nFnzqMEyPYMGcwRAoIA1Dl83CQemmbpAjnf6FJ6QhYy88AA/HsK0MlSE8Kas4JfC uyxdJwzJBV1zgrhC4IGcRX/BvgQJ6hNVcFrmg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775826954; x=1776431754; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-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BVRzNWg9LxL+EGQYhy83FIjdaLLQ465Rz3NARKbTYJDu0 yTNv/bOpqdCRrK9nLc7DSG/cZc7Sq3eFI8RVR9B/KfLXUhp3G1sBluSeUGDOEU/eBlaUfJiO9ZP DcerbvIpi5WI5Pk X-Received: by 2002:a05:6000:1ac5:b0:43c:dc99:771c with SMTP id ffacd0b85a97d-43d642bf201mr4571392f8f.42.1775826953696; Fri, 10 Apr 2026 06:15:53 -0700 (PDT) Received: from ?IPv6:2001:8b0:aba:5f3c:adab:5ac1:52a7:a200? ([2001:8b0:aba:5f3c:adab:5ac1:52a7:a200]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43d63deba9esm7839947f8f.10.2026.04.10.06.15.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Apr 2026 06:15:53 -0700 (PDT) Message-ID: Subject: Re: [OE-core] [PATCH] db: Pin to use C99 std From: Richard Purdie To: raj.khem@gmail.com, openembedded-core@lists.openembedded.org Cc: Khem Raj Date: Fri, 10 Apr 2026 14:15:52 +0100 In-Reply-To: <20260408044737.696968-1-khem.raj@oss.qualcomm.com> References: <20260408044737.696968-1-khem.raj@oss.qualcomm.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2-9 MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 10 Apr 2026 13:16:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/235029 On Tue, 2026-04-07 at 21:47 -0700, Khem Raj via lists.openembedded.org wrot= e: > 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=3Dgnu23 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. >=20 > Therefore pin the cflags to use C99 standard as this package expects. >=20 > Drop the code to disable warnings as errors selectively. >=20 > Signed-off-by: Khem Raj > --- > =C2=A0meta/recipes-support/db/db_5.3.28.bb | 9 ++++----- > =C2=A01 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