Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney)
Subject: Re: odd compilation problem, possible compiler bug?
Date: 1999/02/18	[thread overview]
Message-ID: <7aha5c$iq0$1@node2.nodak.edu> (raw)
In-Reply-To: 7agr1q$duv$1@infosun2.rus.uni-stuttgart.de

In article <7agr1q$duv$1@infosun2.rus.uni-stuttgart.de>,
Stefan Schwarzer  <sts@anaconda.ica1.uni-stuttgart.de> wrote:
> Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu> wrote:
> 
> > cc: Error: util.c, line 415: In this statement, "tmpfilename" is not declared.
> >         __IDL_tmp_filename = tmpfilename;
> > -----------------------------^
> 
> > The thing is, as far as I can tell `tmpfilename' *is* defined in
> > the same scope; it's used in several places in the code above this point
> > without error.  It's not a conditional compilation problem; 
> 
> 
> I checked the 6.0 version of the c compiler (beta) and it gives the same 
> message. I looked into the code and I think the compiler is right. 
> tmpfilename is defined in the function IDL_parse_filename(...) 
> right above IDL_pare_filename_with_input(...) where the error occurs in which
> as the compiler rightly claims, no 'tmpfilename' can be found.
> I am afraid that it's a bug in the sources (but it seems that one can just 
> take the offending statements to fix it.) 

You're right, and it's obvious now that you pointed it out.  ;-)

I'm not sure what I was doing the night I was trying to get this to compile,
but at this point the error is clearly in the code.

Thanks

Tim
-- 
Tim Mooney                              mooney@dogbert.cc.ndsu.NoDak.edu
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J1, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164



      reply	other threads:[~1999-02-18  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-17  5:00 odd compilation problem, possible compiler bug? Tim Mooney
1999-02-18  5:00 ` Stefan Schwarzer
1999-02-18  5:00   ` Tim Mooney [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox