From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a60984b8349a1a04 X-Google-Attributes: gidfee84,public From: Stefan Schwarzer Subject: Re: odd compilation problem, possible compiler bug? Date: 1999/02/18 Message-ID: <7agr1q$duv$1@infosun2.rus.uni-stuttgart.de>#1/1 X-Deja-AN: 445652789 References: <7afjk7$noe$1@node2.nodak.edu> Organization: ICA 1, Stuttgart University User-Agent: tin/pre-1.4-971224 (UNIX) (SunOS/5.5.1 (sun4u)) Newsgroups: comp.unix.osf.osf1 Tim Mooney 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