AMBER Archive (2006)

Subject: Re: AMBER: Installation amber 9 on IBM SP4

From: David A. Case (case_at_scripps.edu)
Date: Fri Aug 25 2006 - 10:03:10 CDT


On Thu, Aug 24, 2006, Scott Brozell wrote:
> >
>
> 206 typedef enum _transformContactsType {
> 207 CONTACTS_NULL = 0,
> 208 CONTACTS_FIRST,
> 209 CONTACTS_REFERENCE,
> 210 } transformContactsType;
>
> Remove the comma from line 209 of src/ptraj/actions.h.
> This looks like it will become a bugfix.
> I'll check the C standard first.

Final comma is illegal in C89, legal in C99. Since there are still compilers
that default to C89 behavior (I think they are all IBM-based, but am not
sure), a bugfix is probably appropriate. But we should also probably find
the flags that get one C99 behavior, and add them to configure.

Thanks for looking into this.

....dac

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu