Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 7e6ab0df authored by gsell's avatar gsell
Browse files

handle overloaded virtual warnings as error using Clang

parent 61d15348
No related branches found
No related tags found
1 merge request!135Resolve "fixes for overloaded virtual errors on macOS"
......@@ -65,11 +65,14 @@ if ( ${CMAKE_CXX_COMPILER_ID} STREQUAL "Intel" )
endif ()
elseif (${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
add_compile_options (-Werror -Wsign-compare -Wunused-variable -Warray-bounds)
add_compile_options (-Werror)
add_compile_options (-Wsign-compare)
add_compile_options (-Wunused-variable)
add_compile_options (-Warray-bounds)
# Increase template depth for boost
add_compile_options (-ftemplate-depth=1024)
# Allow overloaded virtual functions (instances to be fixed in OPAL)
add_compile_options (-Wno-overloaded-virtual)
#add_compile_options (-Wno-overloaded-virtual)
add_definitions(-DIPPL_RESTRICT_BUG)
if (ENABLE_OpenMP)
add_compile_options (-fopenmp)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment