Path: utzoo!attcan!uunet!cs.utexas.edu!sun-barr!newstop!sun!claris!peirce From: peirce@claris.com (Michael Peirce) Newsgroups: comp.sys.mac.programmer Subject: Re: Problem with MPW Pascal & MacApp Message-ID: <10478@claris.com> Date: 10 Aug 89 18:29:36 GMT References: <532@mathrt0.math.chalmers.se> Reply-To: peirce@claris.com (Michael Peirce) Organization: Claris Corporation, Santa Clara CA Lines: 41 In article <532@mathrt0.math.chalmers.se> d6maca@dtek.chalmers.se (Martin Carlberg) writes: >HELP!!! > > I'm using MPW Pascal (3.0 final) & MacApp (b8.2) and have some problem > > I have a large program with many units and files. When I compile the >program I sometimes get the following error: >Error 114 Unsatisfied forward reference for type identifier: Txxxxx > But when I compile with the Pascal option "noload" everythings works fine. >I'm getting tired of waiting for the compiler to compile with "noload". (it >takes up to 30 min.) > > There was a simular problem in MPW b1, but I belive that was fixed. > > What can I do? Anybody? > >- Martin Carlberg >- Chalmers University of Technology, Gothenburg, Sweden I've run into this (or something similar) often. It *appears* that certain type information gets cached and then isn't always maintained properly. When I run into this (usually after messing with object type definitions) I run MABuild with the following option: MABuild -pascal -clean MyProgram This passes the -clean directive to the pascal compiler. This instructs it to throw alway its cached information and to reconstruct it from scratch. Seems to work for me... Claris Corp. | Michael R. Peirce -------------+-------------------------------------- | 5201 Patrick Henry Drive MS-C4 | Box 58168 | Santa Clara, CA 95051-8168 | (408) 987-7319 | AppleLink: peirce1 | Internet: peirce@claris.com | uucp: {ames,decwrl,apple,sun}!claris!peirce