[Mitgcm-support] RE: checkpoint48
mitgcm-support at dev.mitgcm.org
mitgcm-support at dev.mitgcm.org
Wed Jul 9 15:47:59 EDT 2003
P.S. I guess the standard does not mandate the adding of a /* */ comment
at the #endif that closes a block. However, that is our practice (and,
as fas as I know, the approach used by every other decent project on the
planet)!
> -----Original Message-----
> From: Chris Hill [mailto:cnh at plume.mit.edu]
> Sent: Friday, February 14, 2003 3:12 PM
> To: 'support at mitgcm.org'
> Cc: 'Dimitris Menemenlis'; 'Jean-Michel Campin'; 'cnh';
> 'heimbach at MIT.EDU'
> Subject: RE: checkpoint48
>
>
> Quick reminder.
>
> The CPP syntax it is OK to use in the code is the ANSI (also
> know as c89) CPP standard. Sticking to this standard should
> ensure that the code will not encounter problems as it is
> moved between platforms, OS revisions, etc.... I know its
> sometimes tricky to know what is allowed, but most platforms
> have a cpp -ansi or -std flag that can help find incorrect syntaxt.
>
> Chris
>
> > -----Original Message-----
> > From: Patrick Heimbach [mailto:heimbach at MIT.EDU]
> > Sent: Friday, February 14, 2003 2:53 PM
> > To: Jean-Michel Campin; cnh
> > Cc: Dimitris Menemenlis
> > Subject: Re: checkpoint48
> >
> >
> > Hi Jean-Michel,
> >
> > I think these are the changes related to
> > Dimitris' sea ice package.
> > You should check with him.
> > I've cc-ed to him.
> >
> > -p.
> >
> > BTW:
> > Maybe Dimitris should be added to the support list
> > (if he wants?).
> >
> >
> >
> > Jean-Michel Campin wrote:
> > > Hi Stephanie,
> > >
> > > Thanks for your feedback.
> > >
> > > It's true that some "non-standard" #endif -comment-
> > > have been introduced.
> > > the standard way to put comments (according to man cpp)
> > > beeing:
> > > #endif /* -comment- */
> > >
> > > Jean-Michel
> >
> >
> > --
> > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> > Patrick Heimbach Massachusetts Institute of Technology
> > FON: +1/617/253-5259 EAPS, Room 54-1518
> > FAX: +1/617/253-4464 77 Massachusetts Avenue
> > mailto:heimbach at mit.edu Cambridge MA 02139
> > http://www.mit.edu/~heimbach/ U.S.A.
> >
>
More information about the MITgcm-support
mailing list