c39426ec91
When compiling mpi.h with a modern C++ compiler and a high degree of
pickyness (e.g., -Wold-style-cast), casting using (void*) in the
OMPI_PREDEFINED_GLOBAL and MPI_STATUS*_IGNORE macros will emit
warnings. So if we're compiling with a C++ compiler, use C++'s
static_cast<> instead of (void*).
Thanks to @shadow-fax for identifying the issue.
Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
ompi | ||
Makefile.am | ||
mpi.h.in | ||
mpif-config.h.in | ||
mpif-externals.h | ||
mpif-sentinels.h | ||
mpif-values.pl | ||
mpif.h.in | ||
ompi_config.h |