* Rajeev Thakur <thakur_at_[hidden]> [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
- application/pgp-signature attachment: stored
|