Comment out gcc-only checks (#995)

This commit is contained in:
Sergey Kuznetsov
2023-11-21 09:53:08 +00:00
committed by GitHub
parent 74660aebf1
commit 3bab90ca7a

View File

@@ -19,14 +19,15 @@ set(COMPILER_FLAGS
-Wunused -Wunused
) )
if (is_gcc AND NOT lint) #TODO: reenable when we change CI #884
list(APPEND COMPILER_FLAGS # if (is_gcc AND NOT lint)
-Wduplicated-branches # list(APPEND COMPILER_FLAGS
-Wduplicated-cond # -Wduplicated-branches
-Wlogical-op # -Wduplicated-cond
-Wuseless-cast # -Wlogical-op
) # -Wuseless-cast
endif () # )
# endif ()
if (is_clang) if (is_clang)
list(APPEND COMPILER_FLAGS list(APPEND COMPILER_FLAGS