On Aug 29, 2008, at 10:48 AM, Rolf Vandevaart wrote:
> In the file mpicxx.cc there is a declaration near the bottom that
> looks like this.
> const int LOCK_SHARED = MPI_LOCK_SHARED;
> The preprocessor is going through that file and replacing
> LOCK_SHARED with 0x01. Then when it tries to compile it you are
> trying to compile a line that looks like this.
> const int 0x01 = 2;
> That is why you see the error.
Hmm. This hasn't changed in mpicxx.cc for a long time. What made it
get activated now?