| Message ID | 20250319214213.2505249-2-raj.khem@gmail.com |
|---|---|
| State | New |
| Headers | show |
| Series | [v4,1/9] readline: Fixed build with GCC-15 | expand |
On Wed, 2025-03-19 at 14:42 -0700, Khem Raj via lists.openembedded.org wrote: > GCC 15 defaults to C23, it can not handle it > latest release is from 2021, and this seems to be > deprecated upstream and no longer actively > developed. This isn't true with 0.114 which was recently released. Was it confirmed we still need this with 0.114? Cheers, Richard
On Thu, Mar 20, 2025 at 12:37 AM Richard Purdie <richard.purdie@linuxfoundation.org> wrote: > > On Wed, 2025-03-19 at 14:42 -0700, Khem Raj via lists.openembedded.org wrote: > > GCC 15 defaults to C23, it can not handle it > > latest release is from 2021, and this seems to be > > deprecated upstream and no longer actively > > developed. > > This isn't true with 0.114 which was recently released. > > Was it confirmed we still need this with 0.114? No, we do not need this patch with 0.114, you can drop it from the series. > > Cheers, > > Richard >
diff --git a/meta/recipes-core/dbus/dbus-glib_0.114.bb b/meta/recipes-core/dbus/dbus-glib_0.114.bb index ff7c2d6613a..8795bce5117 100644 --- a/meta/recipes-core/dbus/dbus-glib_0.114.bb +++ b/meta/recipes-core/dbus/dbus-glib_0.114.bb @@ -30,6 +30,8 @@ PACKAGECONFIG[tests] = "--enable-tests,,," EXTRA_OECONF:class-target = "--with-dbus-binding-tool=${STAGING_BINDIR_NATIVE}/dbus-binding-tool" +CFLAGS += "-std=gnu17" + PACKAGES += "${PN}-tests" FILES:${PN} = "${libdir}/lib*${SOLIBS}"
GCC 15 defaults to C23, it can not handle it latest release is from 2021, and this seems to be deprecated upstream and no longer actively developed. Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta/recipes-core/dbus/dbus-glib_0.114.bb | 2 ++ 1 file changed, 2 insertions(+)