Disable warnings in MCADefrag, ProtoProxy and tests
This commit is contained in:
parent
7a5c1d30f8
commit
62c99145d0
@ -11,8 +11,9 @@ set_flags()
|
|||||||
set_lib_flags()
|
set_lib_flags()
|
||||||
enable_profile()
|
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")
|
||||||
|
endif()
|
||||||
|
|
||||||
# Set include paths to the used libraries:
|
# Set include paths to the used libraries:
|
||||||
include_directories("../../lib")
|
include_directories("../../lib")
|
||||||
|
@ -14,7 +14,9 @@ include_directories("../../lib")
|
|||||||
include_directories("../../lib/polarssl/include")
|
include_directories("../../lib/polarssl/include")
|
||||||
include_directories("../../src")
|
include_directories("../../src")
|
||||||
|
|
||||||
|
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||||
|
add_flags_cxx("-Wno-error=conversion")
|
||||||
|
endif()
|
||||||
|
|
||||||
function(flatten_files arg1)
|
function(flatten_files arg1)
|
||||||
set(res "")
|
set(res "")
|
||||||
|
Loading…
Reference in New Issue
Block a user