Skip to content

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.

Merge request reports