On Wed Feb 11, 2026 at 5:39 PM CET, Tony Battersby via lists.openembedded.org wrote: > gcc 15 switches the default from -std=gnu17 to -std=gnu23, wich causes > multiple errors compiling texinfo: > > texinfo-7.2/info/terminal.c:164:7: > error: too many arguments to function 'tputs'; expected 0, have 3 > etc. > > Fix by specifying -std=gnu17. > > Signed-off-by: Tony Battersby <[email protected]> > --- > meta/recipes-extended/texinfo/texinfo_7.2.bb | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/meta/recipes-extended/texinfo/texinfo_7.2.bb > b/meta/recipes-extended/texinfo/texinfo_7.2.bb > index 784f67f65b..08da15deb5 100644 > --- a/meta/recipes-extended/texinfo/texinfo_7.2.bb > +++ b/meta/recipes-extended/texinfo/texinfo_7.2.bb > @@ -40,6 +40,8 @@ tex_texinfo = "texmf/tex/texinfo" > > inherit gettext autotools multilib_script > > +CFLAGS += "-std=gnu17" > + > MULTILIB_SCRIPTS = "${PN}:${bindir}/texi2any" > > EXTRA_AUTORECONF += "-I ${S}/gnulib/m4"
Hello, Thank you for this patch. As far as I can tell, the problem this patch fixes also exist on master. Can you fix it on master first, then, ask for a backport here on whinlatter? On master, an upgrade of texinfo might be more acceptable than forcing the C std. Regards, -- Yoann Congal Smile ECS
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#231001): https://lists.openembedded.org/g/openembedded-core/message/231001 Mute This Topic: https://lists.openembedded.org/mt/117759453/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
