From 12426b64ea2cbd0569029b9fe2f927eb4d9ae079 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Mon, 17 Mar 2008 21:42:27 +0000 Subject: [PATCH] Per MPI-2 ballot 3, the definition of MPI::BOTTOM has changed. w00t! Fixes trac:1175. This commit was SVN r17850. The following Trac tickets were found above: Ticket 1175 --> https://svn.open-mpi.org/trac/ompi/ticket/1175 --- ompi/mpi/cxx/constants.h | 2 +- ompi/mpi/cxx/mpicxx.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ompi/mpi/cxx/constants.h b/ompi/mpi/cxx/constants.h index ad50c99ad6..f597dd871b 100644 --- a/ompi/mpi/cxx/constants.h +++ b/ompi/mpi/cxx/constants.h @@ -54,7 +54,7 @@ OMPI_DECLSPEC extern const int ERR_WIN; // assorted constants -OMPI_DECLSPEC extern const void* BOTTOM; +OMPI_DECLSPEC extern void* const BOTTOM; OMPI_DECLSPEC extern const void* IN_PLACE; OMPI_DECLSPEC extern const int PROC_NULL; OMPI_DECLSPEC extern const int ANY_SOURCE; diff --git a/ompi/mpi/cxx/mpicxx.cc b/ompi/mpi/cxx/mpicxx.cc index 8c568883b2..dfe1c7f240 100644 --- a/ompi/mpi/cxx/mpicxx.cc +++ b/ompi/mpi/cxx/mpicxx.cc @@ -52,7 +52,7 @@ int mpi_errno = MPI_SUCCESS; #endif -const void* BOTTOM = (void*) MPI_BOTTOM; +void* const BOTTOM = (void*) MPI_BOTTOM; const void* IN_PLACE = (void*) MPI_IN_PLACE; // return codes