Re: error classes and codes -- function names

Steve Huss-Lederman (lederman@cs.wisc.edu)
Thu, 20 Feb 1997 15:21:49 -0600 (CST)

> Date: Thu, 20 Feb 1997 16:01:26 -0500
> From: David Taylor - SMCC High Performance Computing <taylor@thokk.East.Sun.COM>
> Sender: owner-mpi-core@mcs.anl.gov
> Precedence: bulk
>
> In section 7.5 Adding New Error Classes and Error Codes, the function
> names don't seem to follow the Salo/Squyres rules (specifically rule 1
> -- the Object-Action-Subset rule). The names are:
>
> MPI_ADD_ERROR_CLASS
> MPI_ADD_ERROR_CODES
> MPI_ADD_ERROR_STRING
>
> shouldn't these be:
>
> MPI_ERROR_ADD_CLASS
> MPI_ERROR_ADD_CODES
> MPI_ERROR_ADD_STRING
> ?

The CLASS, CODES, and STRING refer to all of MPI so there is not
an object (it is implicit). The subset is actually the ERROR_CLASS,
ERROR_CODES, AND ERROR_STRING with an underscore in the name. When I
first saw this I was also confused but I think this is the reason.

Steve