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"
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#230996): 
https://lists.openembedded.org/g/openembedded-core/message/230996
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]]
-=-=-=-=-=-=-=-=-=-=-=-

  • [OE-core] [whinlatter][PATCH] te... Tony Battersby via lists.openembedded.org

Reply via email to