Skip to content

[stable-34.0] fix(warnings): ensure compilation without warnings with gcc 16 - #10710

Merged
Rello merged 2 commits into
stable-34.0from
backport/10583/stable-34.0
Sep 2, 2026
Merged

[stable-34.0] fix(warnings): ensure compilation without warnings with gcc 16#10710
Rello merged 2 commits into
stable-34.0from
backport/10583/stable-34.0

Conversation

@backportbot

@backportbot backportbot Bot commented Sep 1, 2026

Copy link
Copy Markdown

Backport of PR #10583

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
the new gcc 16 will trigger new warnings related to
https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Dialect-Options.html#index-Wsfinae-incomplete

makes sure to fix them

cleaned come include to ensure logical order of inclusions (from most
specific to most generic ones)

also makes incremental compilation faster by spliting MOC generated code
into files related to each headers instead of a big one
see https://forum.qt.io/topic/164690/gcc-16-warnings-about-incomplete-types-in-an-sfinae-context/2?_=1786535933996
also https://www.kdab.com/save-re-compile-time-include-moc-files-in-source-files-video/

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
@sonarqubecloud

sonarqubecloud Bot commented Sep 1, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Artifact containing the AppImage: nextcloud-appimage-pr-10710.zip

Digest: sha256:bb0876421cf606144d027eafadb5a9eb824a1ef068296918d309c6a3a7f67104

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@Rello
Rello merged commit fdb1363 into stable-34.0 Sep 2, 2026
21 checks passed
@Rello
Rello deleted the backport/10583/stable-34.0 branch September 2, 2026 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants