gfortran error: Statement order error: declaration after DATA
Tim Prince
n8tm@aol.com
Wed Sep 12 14:46:00 GMT 2012
On 9/11/2012 5:46 PM, David N. Bradley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I am trying to compile the cactuscode package and can not get past the
> error :
> Statement order error: declaration after DATA
> can you point me in the direction of a fix. I included offending file
> as an attachment.
>
> Dave
>
> kb9qhd Amateur Radio Service
> Technician class Licence
> Grid EN43
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJQT9tfAAoJEIHvsckbl2dBLMIH/0LR4lA3w9W6lhaB3lkyX9WB
> dQJmYHAM59LsGmi+9fmhODG1KkoVfIMIqI8AaDHAFQiqkN2QCr1BNGTFgifFFcV9
> BijJt4OtcZTzS0LwIzLTGOEbBJIT2xP1HQmVm/7gYr90HlWvLMHLoPJgqnNsJyNT
> mxWMEJojD/xeKaHE6yUIZxRlbnM/pC7UYSIruQ7YjsxC7gKpHfBeOM9Op4AkwJ0k
> H4IaKRDpYOKBbEHP6LLPZFTdosjQgWaFnTBILvLaHjSqa9mskU4yTDLdLHFNjUz9
> i5hC2ihlIJBcQx1QVLwt/AvjSDtqPqLPKo3h2OBH0IJzlcS+kOkfeSQ+AvkWghU=
> =snlv
> -----END PGP SIGNATURE-----
Surely someone has pointed out, you should require only to sort the file
by placing the dimension statement ahead of the data statement, if you
don't wish to adopt more modern syntax.
--
Tim Prince
More information about the Gcc
mailing list