Commit 7ce2eee1 authored by Brad King's avatar Brad King

CTestCustom: Suppress warnings internal to openmpi headers

Some openmpi versions produce warnings like this:

    /.../openmpi/ompi/mpi/cxx/op_inln.h:121:46:
    warning: cast between incompatible function types from
    'void (*)(void*, void*, int*, ompi_datatype_t**, void (*)(void*, void*, int*, ompi_datatype_t**))'
    to 'void (*)(void*, void*, int*, ompi_datatype_t**)' [-Wcast-function-type]

Both function types are controlled by openmpi code so we cannot fix them with
changes in VTK.  Add suppressions to tell CTest to ignore them.
parent f3dd33e8
......@@ -188,6 +188,7 @@ SET(CTEST_CUSTOM_WARNING_EXCEPTION
# 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"
"openmpi.*/cxx/op_inln.h.*warning: cast between incompatible function types from"
# remove the next line once this class is removed probably VTK 9.1
"vtkExtractArraysOverTime"
......
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