- /* Last used code must be defined and >= MPI_ERR_LASTCODE */
- if (flag) {
- vval = *(int*)v;
- if (vval < MPI_ERR_LASTCODE) {
- errs++;
- fprintf( stderr, "MPI_LASTUSEDCODE points to an integer (%d) smaller than MPI_ERR_LASTCODE (%d)\n", vval, MPI_ERR_LASTCODE );
- }
- }
- else {
- errs++;
- fprintf( stderr, "MPI_LASTUSECODE is not defined\n" );
- }
+ /* Last used code must be defined and >= MPI_ERR_LASTCODE */
+ if (flag) {
+ vval = *(int *) v;
+ if (vval < MPI_ERR_LASTCODE) {
+ errs++;
+ fprintf(stderr,
+ "MPI_LASTUSEDCODE points to an integer (%d) smaller than MPI_ERR_LASTCODE (%d)\n",
+ vval, MPI_ERR_LASTCODE);
+ }
+ }
+ else {
+ errs++;
+ fprintf(stderr, "MPI_LASTUSECODE is not defined\n");
+ }