On Mon, Aug 24, 2009, gilbert.bluemarble.net wrote:
> I was compiling the latest amber tools 1.2 on a RedHat 5.3 linux
> system using the gcc-4.4.1 and I got a compiler error in the file
> fortran.cpp in ../amber10/src/gleap/mortsrc/common. The compiler
> complained that sprintf was not declared in that namespace. The solution
> is to add the cstdio include file by adding a line at the top of
> fortran.cpp:
>
> #include <cstdio>
Thanks. We'll get that into CVS -- hopefully a new release of AmberTools will
be available soon. Interestingly, the problem does not show up with gcc 4.4.0
on Mac OSX. So, it might be something new in 4.4.1(?). The general behavior
is the g++ becomes stricter as new versions are released.
....dac
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Sep 02 2009 - 23:05:04 PDT