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

Merge branch '449-get-rid-of-linker-warning-on-macos-with-clang' into 'master'

Resolve "get rid of linker warning on macOS with clang"

Closes #449

See merge request !262
parents bb8942df 6037d710
No related branches found
No related tags found
1 merge request!262Resolve "get rid of linker warning on macOS with clang"
......@@ -68,11 +68,18 @@ elseif (${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
add_compile_options (-Warray-bounds)
# Increase template depth for boost
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-inlines-hidden)
# Allow overloaded virtual functions (instances to be fixed in OPAL)
#add_compile_options (-Wno-overloaded-virtual)
if (ENABLE_OpenMP)
add_compile_options (-fopenmp)
add_compile_options (-fopenmp)
endif ()
# Not 100% clear why we need this. But without we get warning while
# linking with HDF5
add_link_options (-Wl,-no_compact_unwind)
elseif (${CMAKE_CXX_COMPILER_ID} MATCHES "GNU")
if (${CMAKE_CXX_COMPILER_VERSION} VERSION_LESS "4.7.3")
......
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