Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 368f7f6d authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#1384 Deactivate two new clang warnings.

parent b4a6440c
No related branches found
No related tags found
No related merge requests found
...@@ -62,6 +62,8 @@ if(${CMAKE_C_COMPILER_ID} STREQUAL "AppleClang" OR ${CMAKE_C_COMPILER_ID} STREQU ...@@ -62,6 +62,8 @@ if(${CMAKE_C_COMPILER_ID} STREQUAL "AppleClang" OR ${CMAKE_C_COMPILER_ID} STREQU
if (${CMAKE_C_COMPILER_ID} STREQUAL "Clang") if (${CMAKE_C_COMPILER_ID} STREQUAL "Clang")
add_cxx_compiler_flag("-Wno-unused-template") add_cxx_compiler_flag("-Wno-unused-template")
add_definitions(-DMOREFEM_LLVM_CLANG) 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() endif()
# GOMP is required when sanitizer is used for gcc, but is not known is macOS hence this variable. # GOMP is required when sanitizer is used for gcc, but is not known is macOS hence this variable.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment