[MITgcm-devel] _END_MASTER( )

Ed Hill ed at eh3.com
Tue Dec 14 11:39:42 EST 2004


On Tue, 2004-12-14 at 17:25 +0100, Martin Losch wrote:
> Actually no, it was the compiler that returned an error. I have to 
> admit, that the paths etc. of the account were not very well 
> maintained, so it is possible that the preprocessor step was already 
> wrong in some cases, I'll have to check that. But nevertheless, 
> _END_MASTER() without myThid is confusing for someone like me (o:


Hi Martin & Chris,

If the compiler barfed on _END_MASTER() then it probably means that the
preprocessor does macro name-matching based upon the number of macro
arguments in addition to the actual macro name.  So the two:

  _END_MASTER()
  _END_MASTER(mythid)

are not treated the same.  Its easy enough to find all occurrences of
these macros and make sure that they all use exactly the same number of
arguments.

And I'll do that right now...

Ed

-- 
Edward H. Hill III, PhD
office:  MIT Dept. of EAPS;  Rm 54-1424;  77 Massachusetts Ave.
             Cambridge, MA 02139-4307
emails:  eh3 at mit.edu                ed at eh3.com
URLs:    http://web.mit.edu/eh3/    http://eh3.com/
phone:   617-253-0098
fax:     617-253-4464




More information about the MITgcm-devel mailing list