[Mpi-forum] [Mpi-22] Call for MPI 2.2 agenda items

Dries Kimpe Dries.Kimpe at cs.kuleuven.be
Mon May 5 17:23:06 CDT 2008


* Rajeev Thakur <thakur at mcs.anl.gov> [2008-05-05 15:36:01]:

> * MPI_CHAR, MPI::CHAR should be signed char or char?

In C and C++, char, signed char and unsigned char are all distinct
types.  

(And in C++, wchar_t is yet another type; In C it is a typedef
and thus not a new type but an alias)

Char can either be signed or unsigned and this is platform/compiler
dependent.  So MPI_CHAR and MPI::CHAR should be whatever the
compiler/platform thinks and cannot be fixed in the standard to
be signed or unsigned.

   Dries


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.mpi-forum.org/pipermail/mpi-forum/attachments/20080506/2b021b44/attachment-0001.pgp>


More information about the mpi-forum mailing list