Commit 120c88be authored by Dave Partyka's avatar Dave Partyka
Browse files

ENH: merge in minor logic change and extra warning supression.

parent a1ae3ed4
......@@ -159,6 +159,11 @@ SET(CTEST_CUSTOM_WARNING_EXCEPTION
"vtkParse.l.*warning: passing argument .* of .* as .* due to prototype"
"lex.yy.c.*warning: passing argument .* of .* as .* due to prototype"
# Java lint warnings
"Note: .* uses? or overrides a deprecated API"
"Note: .* uses? unchecked or unsafe operations"
"Note: Recompile with -Xlint:.* for details"
# warnings from some Open MPI headers/libs, cannot fix:
"/openmpi/.*request_inln.h.*warning: declaration .struct MPI::Grequest_intercept_t. does not declare anything"
"openmpi.*comm_inln.h.*warning: unused parameter"
......
......@@ -38,7 +38,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
mark_as_advanced(VTK_USE_GCC_VISIBILITY)
if(${_gcc_version} VERSION_GREATER 4.2.0 AND HAVE_GCC_VISIBILITY
AND VTK_USE_GCC_VISIBILITY)
AND VTK_USE_GCC_VISIBILITY AND BUILD_SHARED_LIBS)
# Should only be set if GCC is newer than 4.2.0
set(VTK_ABI_CXX_FLAGS "-fvisibility=hidden -fvisibility-inlines-hidden")
else()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment