Re: amber-developers: Re: More sun issues

From: David A. Case <case.scripps.edu>
Date: Mon, 27 Mar 2006 16:27:18 -0700

On Mon, Mar 27, 2006, Scott Brozell wrote:
>
> 6.
> cc -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DSYSV -o ptraj.o
ptraj.c
> "ptraj.c", line 4040: syntax error before or at: int
>
> if ( outInfo->les_action != LES_NONE && outInfo->les_status ==
LES_READY ) {
> outInfo->les_status = LES_DONE;
> int natomCL = lesSize( atoms );
>
> double* xrep = safe_malloc( sizeof( double ) * natomCL );
> double* yrep = safe_malloc( sizeof( double ) * natomCL );
> double* zrep = safe_malloc( sizeof( double ) * natomCL );
>
> This is another old compiler issue; in ANSI C99 declarations do not
> have to be at the top of the block.
> cc: WorkShop Compilers 5.0 98/12/15 C 5.0

fixed some time ago in CVS: you should be using CVS now, not the snapshot.

>
>
> 7.
> "translate.c", line 48: warning: syntax error: empty declaration
>
> int at1 = -99999;;

fixed in CVS.

>
>
> 8.
> f90 -c -O2 -free -o amoeba_parm.o amoeba_parm.f
>
> AM_PARM_write_pitorsion_params,AM_PARM_write_stretchbend_params,
&
> ^
> "amoeba_parm.f", Line = 150, Column = 39: ERROR: Identifier length
exceeds the maximum of 31 characters.
>
> AM_PARM_get_dyn,AM_PARM_check_atom_num_consistency, &
> ^
> "amoeba_parm.f", Line = 154, Column = 24: ERROR: Identifier length
exceeds the maximum of 31 characters.
>

...fixed in CVS.

...thanks!...dac
Received on Wed Apr 05 2006 - 23:49:35 PDT
Custom Search