Error: must operate on two scalar (not array) subexpressions
Toon Moene
toon@moene.indiv.nluug.nl
Mon May 13 15:26:00 GMT 2002
Andrew Stone wrote:
> I'm trying
> to compile this source code using g77 and get the following error:
>
> CALC401K.FOR:194:
> IF(UNTYPE.EQ.'XX ') GOTO 171
> 1 2
> Equality operator at (1) must operate on two scalar (not array)
> subexpressions, two function invocations returning arithmetic or character
> scalars, or a combination of both -- but the subexpression at (2) is an
> array
Are you sure you tried all compiler options starting with -fugly- .... ?
BTW, which version of the compiler are you using (send the output of g77
-v).
Thanks,
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)
More information about the Gcc-help
mailing list