* Don't treat warnings like errors in the Clang build just yet.

svn path=/trunk/; revision=62403
This commit is contained in:
Amine Khaldi 2014-03-02 22:11:49 +00:00
parent a12d2d5e6c
commit 35bcabdf00

View file

@ -73,7 +73,11 @@ else()
endif()
# Warnings, errors
add_compile_flags("-Werror -Wall -Wpointer-arith")
if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
add_compile_flags("-Werror")
endif()
add_compile_flags("-Wall -Wpointer-arith")
add_compile_flags("-Wno-char-subscripts -Wno-multichar -Wno-unused-value")
if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")