enable clang checks that were disabled

This commit is contained in:
Chris Vickio 2017-01-14 13:49:04 +03:00
parent 0aefb2f60a
commit d561f4ad92

View file

@ -350,7 +350,6 @@ else()
set(WARNINGS_AS_ERRORS_FLAG "-Werror") set(WARNINGS_AS_ERRORS_FLAG "-Werror")
endif() endif()
if(CMAKE_C_COMPILER_ID STREQUAL "Clang") if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
set(WARNINGS "${WARNINGS} -Wno-deprecated-register -Wno-error=mismatched-tags -Wno-error=null-conversion -Wno-overloaded-shift-op-parentheses -Wno-error=shift-count-overflow -Wno-error=tautological-constant-out-of-range-compare -Wno-error=unused-private-field -Wno-error=unneeded-internal-declaration")
if(ARM) if(ARM)
set(WARNINGS "${WARNINGS} -Wno-error=inline-asm") set(WARNINGS "${WARNINGS} -Wno-error=inline-asm")
endif() endif()