Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!pprg.unm.edu!hc!ames!amdcad!sun!pitstop!sundc!seismo!uunet!mcvax!kth!draken!chalmers!tekno.chalmers.se!d83_sven_a From: d83_sven_a@tekno.chalmers.se (Sven (Sciz) Axelsson) Newsgroups: comp.sys.mac.programmer Subject: MPW C 3.0 bug again Message-ID: <527@tekno.chalmers.se> Date: 2 Feb 89 22:24:38 GMT Organization: Chalmers Univ. of Technology, Gothenburg, Sweden Lines: 21 OK, now I have tracked down the bug I wrote about yesterday. It was not at all what I thought it was - some sort of compiler limitation - but a real bug in the lexical analyzer of MPW C 3.0 beta 1. Try this: bomb() { int dum; dum = undeclared[1]; /* here it is! */ } The compiler bombs with ID=2 (today) or ID=5 (yesterday) as soon as an undeclared array is referenced. Is this a known bug? Anyway, you all know of it now - beware! +-------------------------+--------------------------------+------------------+ | Sven Axelsson | d83_sven_a@tekno.chalmers.se | DISCLAIMER: | | dep:t of Linguistics | (^^ best ^^) | | | univ. of Gothenburg | dlv_sa@hum.gu.se | This is not | | SWEDEN | usdsa@seguc21.bitnet | a disclaimer. | +-------------------------+--------------------------------+------------------+