1
0

Disable -Werror for warnings in tools.

This commit is contained in:
tycho 2015-05-24 13:24:34 +01:00
parent dae9e5792a
commit 7a8025eacd
2 changed files with 4 additions and 2 deletions

View File

@ -12,7 +12,8 @@ set_lib_flags()
enable_profile()
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
add_flags_cxx("-Wno-error=sign-conversion -Wno-error=conversion -Wno-error=shorten-64-to-32")
add_flags_cxx("-Wno-error=sign-conversion -Wno-error=conversion -Wno-error=shorten-64-to-32 -Wno-error=keyword-macro")
add_flags_cxx("-Wno-error=old-style-cast")
endif()
# Set include paths to the used libraries:

View File

@ -15,7 +15,8 @@ include_directories("../../lib/polarssl/include")
include_directories("../../src")
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
add_flags_cxx("-Wno-error=conversion")
add_flags_cxx("-Wno-error=sign-conversion -Wno-error=conversion -Wno-error=shorten-64-to-32 -Wno-error=keyword-macro")
add_flags_cxx("-Wno-error=old-style-cast")
endif()
function(flatten_files arg1)