LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Andrew Cunningham (andrewc_at_[hidden])
Date: 2003-07-17 13:35:06


When building on HP-UX using c89 the compiler flags this line in
icmerge.c as an error

cc: "icmerge.c", line 104: error 1560: Modifiable lvalue required with
operator "--".

        err = lam_coll_alloc_inter_cid(comm, 0, comm, 0, -MPI_MERGE_TAG,
                                       BLKMPIICOMMMERGE, &cid);

MPI_MERGE_TAG is a macro
#define MPI_MERGE_TAG -3 /* used to merge inter-comm */
So -MPI_MERGE_TAG expands to --3

Not sure what other compilers do in this situation.

Andrew