3
0
Fork 0
forked from suyu/suyu

input_common: ignore some Clang warnings after 5c4774e8ce

error: unknown warning option '-Werror=unused-but-set-parameter'; did you mean '-Werror=unused-parameter'? [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Werror=unused-but-set-variable'; did you mean '-Werror=unused-const-variable'? [-Werror,-Wunknown-warning-option]
This commit is contained in:
Jan Beich 2020-11-25 23:56:17 +00:00
parent 0e15c68f54
commit e48e9a406c

View file

@ -56,8 +56,8 @@ else()
-Werror=reorder -Werror=reorder
-Werror=shadow -Werror=shadow
-Werror=sign-compare -Werror=sign-compare
-Werror=unused-but-set-parameter $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter>
-Werror=unused-but-set-variable $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable>
-Werror=unused-variable -Werror=unused-variable
) )
endif() endif()