<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Hi,</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">on Ubuntu 24.04 using gcc 14, building frameworks fails:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><span style="background-color:#ffffff;"><span style="color:#000000;"><span style="font-family:monospace;">kde-builder --set-project-option-value frameworks,tag,v6.8.0 --set-project-option-value oxygen-icons,tag,v6.0.0 frameworks</span></span></span><br /></p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">[4/304] Compiling C object tests/test-build-pedantic-stable_xdg_shell_xdg_shell_xml.p/meson-generated_.._test-build-pedantic-stable_xdg_shell_xdg_shell_xml.c.o</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">FAILED: tests/test-build-pedantic-stable_xdg_shell_xdg_shell_xml.p/meson-generated_.._test-build-pedantic-stable_xdg_shell_xdg_shell_xml.c.o </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">cc -Itests/test-build-pedantic-stable_xdg_shell_xdg_shell_xml.p -Itests -I../../src/wayland-protocols/tests -I/opt/kf6/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -g -std=c99 -pedantic -Wall -Werror -MD -MQ tests/test-build-pedantic-stable_xdg_shell_xdg_shell_xml.p/meson-generated_.._test-build-pedantic-stable_xdg_shell_xdg_shell_xml.c.o -MF tests/test-build-pedantic-stable_xdg_shell_xdg_shell_xml.p/meson-generated_.._test-build-pedantic-stable_xdg_shell_xdg_shell_xml.c.o.d -o tests/test-build-pedantic-stable_xdg_shell_xdg_shell_xml.p/meson-generated_.._test-build-pedantic-stable_xdg_shell_xdg_shell_xml.c.o -c tests/test-build-pedantic-stable_xdg_shell_xdg_shell_xml.c</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">In file included from /opt/kf6/include/wayland-client.h:39,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">                 from /home/user/kde/build/wayland-protocols/tests/xdg-shell-client.h:8,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">                 from tests/test-build-pedantic-stable_xdg_shell_xdg_shell_xml.c:1:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">/opt/kf6/include/wayland-client-core.h:256:42: error:struct timespec declared inside parameter list will not be visible outside of this definition or declaration [-Werror]</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">  256 |                             const struct timespec *timeout);</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">      |                                          ^~~~~~~~</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">/opt/kf6/include/wayland-client-core.h:261:48: error: struct timespec declared inside parameter list will not be visible outside of this definition or declaration [-Werror]</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">  261 |                                   const struct timespec *timeout);</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">      |                                                ^~~~~~~~</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">cc1: all warnings being treated as errors</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">ninja: build stopped: subcommand failed.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">What am I doing wrong ?</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Thanks</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Alex</p>
<br /></body>
</html>