Skip to content

Backport build fixes and -Werror in CI to 1.4.x#742

Merged
bbhtt merged 5 commits into
flatpak-builder-1.4.xfrom
bbhtt/build-fixes
May 19, 2026
Merged

Backport build fixes and -Werror in CI to 1.4.x#742
bbhtt merged 5 commits into
flatpak-builder-1.4.xfrom
bbhtt/build-fixes

Conversation

@bbhtt
Copy link
Copy Markdown
Contributor

@bbhtt bbhtt commented May 19, 2026

No description provided.

bbhtt added 5 commits May 19, 2026 06:36
gpointer * is void ** which does not match the expected type signature
of the params in the typecheck macro [1], [2]. GCC lets this slide but
Clang causes a -Wattribute-warning.

[1]: https://github.com/curl/curl/blob/e8c1023b00b4b1491d0436f8bc95fe589ad659ed/include/curl/typecheck-gcc.h#L734
[2]: https://curl.se/libcurl/c/CURLOPT_WRITEFUNCTION.html

(cherry picked from commit a8cb2d3)
OSTree has a typedef-redefinition in OstreeContentWriter, since it is
allowed by C11 and earlier via GCC C11 extensions, ignore it for Clang
builds

(cherry picked from commit ae4ddc5)
Glibc 2.43 implements C23 const-preserving string-search functions [1]

This fixes the build with Glibc 2.43 and GCC 15.1 (which defaults
to C23).

[1]: https://sourceware.org/glibc/wiki/Release/2.43#C23_Const-Preserving_Standard_Library_Macros_May_Break_Some_Packages

(cherry picked from commit ebc4f5e)
@bbhtt bbhtt force-pushed the bbhtt/build-fixes branch from dc59bdf to ba67f2a Compare May 19, 2026 01:27
@bbhtt bbhtt merged commit 91d9422 into flatpak-builder-1.4.x May 19, 2026
6 checks passed
@bbhtt bbhtt deleted the bbhtt/build-fixes branch May 19, 2026 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant