[Mpi-forum] C++ types inaccessible after #281

Jeff Squyres jsquyres at cisco.com
Thu Jun 28 10:54:32 CDT 2012


On Jun 28, 2012, at 2:28 AM, Rolf Rabenseifner wrote:

> There is obviously one exception: The middle table on page 517,
> because we forgot to define the handles for the 4 C++ types
> in the other language bindings (C, Fortran).
> 
> I would propose to fill the gap by
> - defining in C and Fortran MPI_CPP_BOOL for C++ bool
> - defining in C and Fortran MPI_CPP_COMPLEX,
>  MPI_CPP_DOUBLE_COMPLEX, MPI_CPP_LONG_DOUBLE_COMPLEX,
[snip]

All of the rest of this sounds find to me, except that I would marginally prefer MPI_CXX_BOOL, MPI_CXX_COMPLEX, ...etc. (i.e., CXX instead of CPP).

"CPP" is a bit overloaded; it can also mean the "C Pre Processor" (e.g., in Make/shell variable parlance).

-- 
Jeff Squyres
jsquyres at cisco.com
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/





More information about the mpi-forum mailing list