Skip to content
  • Brad King's avatar
    CTestCustom: Suppress warnings internal to openmpi headers · 7ce2eee1
    Brad King authored
    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.
    7ce2eee1