Path: utzoo!attcan!uunet!seismo!ukma!tut.cis.ohio-state.edu!ucbvax!ECNCDC.BITNET!MMPR004 From: MMPR004@ECNCDC.BITNET (Scott Hutinger) Newsgroups: comp.sys.apple Subject: MPW IIGS C? Message-ID: <8909271735.aa08933@SMOKE.BRL.MIL> Date: 27 Sep 89 21:32:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 23 Here it is... This seems to be the problem. If AllocGen is called in this manner, junk() { Word genNum; genNum=AllocGen(0,64); /* got me, the headers look void to me */ } where AllocGen is declared as: extern pascal Word AllocGen () inline(0x0919,dispatcher); Then any function that calls this, messes up this ar's stack. OR, if the same call is within main(), of course the same thing happens. So, what would AllocGen do in APW C that is different in MPW IIGS C? If I don't allocate any generators, then the program never bombs anymore with MPW IIGS C. Of course it never did bomb with APW C, but it takes a little longer to compile. Anyone use MPW? scott hutinger , forgot my address