[MPICH2-dev] Re: MPICH2 1.0.5-rc1 PGI 64-bit compilers

William Gropp gropp at mcs.anl.gov
Fri Dec 1 03:14:23 CST 2006


Thanks for your report.  Here's an answer to one of your questions:

On Nov 29, 2006, at 8:05 PM, Larry Baker wrote:

>
> An question: If you have no C const (#ifdef HAVE_NO_C_CONST), why  
> not just #define const as nothing?  Or, use CONST where you would  
> normally use const and either #define CONST or #define CONST  
> const?  It would cut down on the number of #ifdef/#else/#endif's,  
> the number of lines of code, and reduce the chance of improperly  
> nested or mispositioned preprocessor conditionals.
>

This was old code that hadn't been updated.  In looking at it, and  
checking for where the various CPP names might be defined, I found  
that most of this was obsolete, and I cleaned up most of this code.

Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mcs.anl.gov/mailman/private/mpich2-dev/attachments/20061201/52bfebf1/attachment.htm>


More information about the mpich2-dev mailing list