themeeditor: Silence a build warning
rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]> Thu, 16 Jul 2026 08:31:40 -0400
| Newsgroups | gmane.comp.systems.archos.rockbox.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit c35271a3f060dc16e63786d5cf34510774910e39 Author: Solomon Peachy <[email protected]> Date: Thu Jul 16 08:30:26 2026 -0400 themeeditor: Silence a build warning The warning comes from code generated by QT's MOC, so there isn't anything to be done until QT addresses this properly. Change-Id: Ia88ac9af91acbab783b683a6f0b4f4a304aa9e4d diff --git a/utils/themeeditor/CMakeLists.txt b/utils/themeeditor/CMakeLists.txt index 8720ada7c3..5608ecf13e 100644 --- a/utils/themeeditor/CMakeLists.txt +++ b/utils/themeeditor/CMakeLists.txt @@ -120,6 +120,11 @@ target_link_libraries(RockboxThemeEditor target_include_directories(RockboxThemeEditor PRIVATE models graphics gui qtfindreplacedialog quazip) target_compile_definitions(RockboxThemeEditor PRIVATE FINDREPLACE_NOLIB) +# This is an issue with the code produced by QT's MOC +if (CMAKE_CXX_COMPILER_ID MATCHES "GNU") +target_compile_options(RockboxThemeEditor PRIVATE -Wsfinae-incomplete=0) +endif() + if(APPLE) # MacOS Application Bundle specifics. target_sources(RockboxThemeEditor PRIVATE -- rockbox-cvs mailing list [email protected] https://lists.haxx.se/mailman/listinfo/rockbox-cvs