Squash "unknown warning option" warnings. -Wmaybe-unititialized is specific to GCC. warning: unknown warning option '-Werror=maybe-uninitialized'; did you mean '-Werror=uninitialized'? [-Wunknown-warning-option] Regressed by: https://code.qt.io/cgit/qt-creator/qt-creator.git/commit/?id=8129f886bcc50e91f55de15f751df183f0db822c --- src/plugins/qmldesigner/CMakeLists.txt.orig 2024-11-27 10:00:24 UTC +++ src/plugins/qmldesigner/CMakeLists.txt @@ -110,7 +110,7 @@ extend_qtc_plugin(QmlDesigner extend_qtc_plugin(QmlDesigner CONDITION ENABLE_COMPILE_WARNING_AS_ERROR PROPERTIES COMPILE_WARNING_AS_ERROR ON - PUBLIC_COMPILE_OPTIONS $<$:-Wno-error=maybe-uninitialized> + PUBLIC_COMPILE_OPTIONS $<$:-Wno-error=maybe-uninitialized> ) if (QTC_STATIC_BUILD AND TARGET QmlDesigner)