rbutil: Silence the final build warnings when building with Clang
rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]> Wed, 15 Jul 2026 23:04:41 -0400
| Newsgroups | gmane.comp.systems.archos.rockbox.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit 91d49adce2cc2661265ae7d3affeefdf7fb84f86 Author: Solomon Peachy <[email protected]> Date: Sat Jul 11 11:37:37 2026 -0400 rbutil: Silence the final build warnings when building with Clang Change-Id: I65bb37993ef0ef6a0f373711ea16a417d0839cc5 diff --git a/utils/rbutilqt/CMakeLists.txt b/utils/rbutilqt/CMakeLists.txt index f35eefb1ad..2a4fcfcfd9 100644 --- a/utils/rbutilqt/CMakeLists.txt +++ b/utils/rbutilqt/CMakeLists.txt @@ -254,6 +254,12 @@ if(APPLE) ) endif() +if (CMAKE_CXX_COMPILER_ID MATCHES "Clang") + target_compile_options(RockboxUtility PRIVATE + $<$<COMPILE_LANGUAGE:CXX>:-Wno-c++20-extensions> + ) +endif() + if (TARGET Qt${QT_VERSION_MAJOR}::TextToSpeech AND TARGET Qt${QT_VERSION_MAJOR}::Multimedia) target_sources(rbbase PRIVATE ${CMAKE_CURRENT_LIST_DIR}/base/ttsqt.cpp -- rockbox-cvs mailing list [email protected] https://lists.haxx.se/mailman/listinfo/rockbox-cvs