Skip to content

fix(warnings): ensure compilation without warnings with gcc 16 - #10583

Open
mgallien wants to merge 1 commit into
masterfrom
bugfix/fixWarningsWithGcc16
Open

fix(warnings): ensure compilation without warnings with gcc 16#10583
mgallien wants to merge 1 commit into
masterfrom
bugfix/fixWarningsWithGcc16

Conversation

@mgallien

@mgallien mgallien commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

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/

Resolves

#

Summary

TODO

  • ...

Checklist

AI (if applicable)

@sonarqubecloud

Copy link
Copy Markdown

@mgallien
mgallien force-pushed the bugfix/fixWarningsWithGcc16 branch from bc289f4 to e5c22e8 Compare August 26, 2026 15:24
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>
@mgallien
mgallien force-pushed the bugfix/fixWarningsWithGcc16 branch from e5c22e8 to 5422844 Compare August 31, 2026 15:15
@github-actions

Copy link
Copy Markdown
Contributor

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

Digest: sha256:c6321c8f5374a719274aba433057609e322ccd375e256f376b57cfda118b9c35

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.

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.

1 participant