Skip to content

Commit 5c5b978

Browse files
authored
test-resultstree: disabled -Wsuggest-attribute=noreturn GCC warnings (#7784)
1 parent f3e4824 commit 5c5b978

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

gui/test/resultstree/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,13 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
4343
# caused by Qt generated moc code starting with 6.9.0 - see https://bugreports.qt.io/browse/QTBUG-135638
4444
target_compile_options_safe(test-resultstree -Wno-ctad-maybe-unsupported)
4545
endif()
46-
# caused by mocs
46+
# caused by mocks
4747
target_compile_options_safe(test-resultstree -Wno-missing-noreturn)
4848
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
4949
# caused by mocs
5050
target_compile_options_safe(test-resultstree -Wno-useless-cast)
51+
# caused by mocks
52+
target_compile_options_safe(test-resultstree -Wno-suggest-attribute=noreturn)
5153
endif()
5254

5355
if (REGISTER_GUI_TESTS)

0 commit comments

Comments
 (0)