This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: one more!!
On Fri, Apr 01, 2005 at 01:16:05PM -0500, apaz@purdue.edu wrote:
>
>
> I can compile it with Microsoft Developer Studio and g95 without problem . . .
> Are you sure muc_mod_td.f has illegal code?
>
http://www.lahey.com/check.com
8653-W: "SOURCE.F90", line 719: Element 'no_link_type' of common block cannot
be initialized except in a BLOCK DATA subprogram.
8653-W: "SOURCE.F90", line 720: Element 'no_occupancy_level' of common block
cannot be initialized except in a BLOCK DATA subprogram.
8653-W: "SOURCE.F90", line 771: Element 'MaxVehicles' of common block cannot
be initialized except in a BLOCK DATA subprogram.
8653-W: "SOURCE.F90", line 772: Element 'noofstops' of common block cannot be
initialized except in a BLOCK DATA subprogram.
There are others. Illegal may be too strong. Your code is
nonconformant to the standard. Lahey issues a warning, gfortran
issues an error.
--
Steve