mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 12:32:47 +00:00
[CMAKE]
* Don't treat warnings like errors in the Clang build just yet. svn path=/trunk/; revision=62403
This commit is contained in:
parent
a12d2d5e6c
commit
35bcabdf00
1 changed files with 5 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue