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 6037d710 authored by gsell's avatar gsell
Browse files

coments to linker warnings on macOS/Clang added

parent cad2b926
No related branches found
No related tags found
1 merge request!262Resolve "get rid of linker warning on macOS with clang"
...@@ -68,13 +68,17 @@ elseif (${CMAKE_CXX_COMPILER_ID} MATCHES "Clang") ...@@ -68,13 +68,17 @@ elseif (${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
add_compile_options (-Warray-bounds) add_compile_options (-Warray-bounds)
# Increase template depth for boost # Increase template depth for boost
add_compile_options (-ftemplate-depth=1024) add_compile_options (-ftemplate-depth=1024)
# get rid of linking warning with boost. Looks like that boost
# is using this visibility setting.
add_compile_options (-fvisibility=hidden) add_compile_options (-fvisibility=hidden)
add_compile_options (-fvisibility-inlines-hidden) add_compile_options (-fvisibility-inlines-hidden)
# Allow overloaded virtual functions (instances to be fixed in OPAL) # Allow overloaded virtual functions (instances to be fixed in OPAL)
#add_compile_options (-Wno-overloaded-virtual) #add_compile_options (-Wno-overloaded-virtual)
if (ENABLE_OpenMP) if (ENABLE_OpenMP)
add_compile_options (-fopenmp) add_compile_options (-fopenmp)
endif () endif ()
# Not 100% clear why we need this. But without we get warning while
# linking with HDF5
add_link_options (-Wl,-no_compact_unwind) add_link_options (-Wl,-no_compact_unwind)
elseif (${CMAKE_CXX_COMPILER_ID} MATCHES "GNU") elseif (${CMAKE_CXX_COMPILER_ID} MATCHES "GNU")
......
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