Commit 368f7f6d authored by GILLES Sebastien's avatar GILLES Sebastien

#1384 Deactivate two new clang warnings.

parent b4a6440c
......@@ -62,6 +62,8 @@ if(${CMAKE_C_COMPILER_ID} STREQUAL "AppleClang" OR ${CMAKE_C_COMPILER_ID} STREQU
if (${CMAKE_C_COMPILER_ID} STREQUAL "Clang")
add_cxx_compiler_flag("-Wno-unused-template")
add_definitions(-DMOREFEM_LLVM_CLANG)
add_cxx_compiler_flag("-Wno-return-std-move")
add_cxx_compiler_flag("-Wno-return-std-move-in-c++11")
endif()
# GOMP is required when sanitizer is used for gcc, but is not known is macOS hence this variable.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment