Page MenuHomePhabricator

CMake configure error with clang compiler in Connectomics/CMakelists.txt
Closed, ResolvedPublic

Description

Modules/DiffusionImaging/Connectomics/CMakeLists.txt

Commit f2c76e9214b8173860d335ddfa07f0acf52b6887 from yesterday T16780

+ # there are additional warnings in boost headers in Release mode with special gcc versions
+ if(CMAKE_BUILD_TYPE STREQUAL "Release" AND ${GCC_VERSION} VERSION_GREATER "4.8.1" AND ${GCC_VERSION} VERSION_LESS "4.9.0")
+ mitkFunctionCheckCAndCXXCompilerFlags("-Wno-error=maybe-uninitialized" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
+ mitkFunctionCheckCAndCXXCompilerFlags("-Wno-error=unused-parameter" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
+ endif()

Event Timeline

I fixed it a few minutes ago on a branch of T16780 and merged it into the master. Can you please check if it compiles with clang, now?