Using gfortran 4.2:
$configure gfortran
$cd modules
$make
gfortran -c -g -O0 -fPIC -fbounds-check -pedantic -Wall planetary_data.f90
planetary_data.f90:168.93:
* planetary_radii(1) * (planetary_densities(1)/planetary_densities(14))**(1.0_
1
Error: Exponent at (1) must be INTEGER for an initialization expression
planetary_data.f90:240.46:
CALL getenv("OORB_DATA", OORB_DATA_DIR)
1
Warning: Intrinsic 'getenv' at (1) is not included in the selected standard
make: *** [planetary_data.o] Error 1
According to the following:
http://gcc.gnu.org/ml/gcc-bugs/2008-02/msg02763.html this is due to a
limitation imposed by the F95 standard, but ignored by most compilers. By
switching to gfortran 4.5, the problem disappears.
An ideal fix would be to change the contents of planetary_data.f90 so that
they could be compiled by any version of gfortran.
Keep up the great work, guys!
Original issue reported on code.google.com by pazuz...@gmail.com on 3 Sep 2009 at 9:46
Original issue reported on code.google.com by
pazuz...@gmail.com
on 3 Sep 2009 at 9:46