public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Toon Moene <toon@moene.indiv.nluug.nl>
To: Andrew Stone <astone@brightlane.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Error: must operate on two scalar (not array) subexpressions
Date: Mon, 13 May 2002 15:26:00 -0000	[thread overview]
Message-ID: <3CE03C6B.87F5E469@moene.indiv.nluug.nl> (raw)
In-Reply-To: <OKELKEGKKOINCPCMEJFIKENHCLAA.astone@brightlane.com>

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)

  parent reply	other threads:[~2002-05-13 22:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-13 11:31 Andrew Stone
2002-05-13 11:44 ` Hassan Aurag
2002-05-13 15:26 ` Toon Moene [this message]
2002-05-14  5:13 Andrew Stone
2002-05-14  7:03 ` Hassan Aurag

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CE03C6B.87F5E469@moene.indiv.nluug.nl \
    --to=toon@moene.indiv.nluug.nl \
    --cc=astone@brightlane.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).