To: William Gropp cc: Jeremy Siek ,mpi-bind@XXXXXXXXXXX,mpi-core@XXXXXXXXXXX,Subject: Re: C++ MPI constants In-reply-to: Your message of "Thu, 29 Apr 1999 16:05:54 CDT." <4.1.19990429155821.00c39940@localhost> Date: Thu, 29 Apr 1999 14:16:58 -0700 From: Bill Nitzberg X-UIDL: f18319d8a5174b1f00fe1b1fa8b9e170 Given the choice, I'd have to agree with Bill. So, why can't we do this... - bill In message <4.1.19990429155821.00c39940@localhost> William Gropp writes > At 09:28 AM 4/29/99 -0500, jeremy siek wrote: > > > >Michael Holzheu has brought to our attention a name conflict between > >some macros in stdio.h (SEEK_SET, etc.) and the C++ MPI constants. > > > >He proposes two solutions. > >1. Change all the C++ constants to lowercase, which would be more in > > conformance with the style of the C++ standard libraries. > > > >2. Change just the offending constants by adding a "CPP_" prefix. > > > >Andrew Lumsdaine and I suggest that alternative #1 is the better choice. > > That's because #2 is so awful. Here's a more reasonable alternative > > 3. Change just the offending constants by adding an "MPI_" prefix. Of > course, this makes the constants the same as the C versions, which doesn't > seem so bad. That really makes the choices these: > > 1. Change to lowercase. > > 4. Remove them and use the respective C versions (MPI_SEEK_SET etc.) > > I'd prefer 4 slightly over 1. > > Bill