Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Stefan Schwarzer <sts@anaconda.ica1.uni-stuttgart.de>
Subject: Re: odd compilation problem, possible compiler bug?
Date: 1999/02/18	[thread overview]
Message-ID: <7agr1q$duv$1@infosun2.rus.uni-stuttgart.de> (raw)
In-Reply-To: 7afjk7$noe$1@node2.nodak.edu

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.) 

Stefan. 

> 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

-- 
Stefan Schwarzer                office:  +49-(0)711-685-7606   fax: x-3658 
Uni Stuttgart, ICA 1            e-mail:          sts@ica1.uni-stuttgart.de
Pfaffenwaldring 27              pgp public key available on request/finger 
70569 Stuttgart, Germany             http://www.ica1.uni-stuttgart.de/~sts



  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 [this message]
1999-02-18  5:00   ` Tim Mooney
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