Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!uflorida!mephisto!prism!sun13!gw.scri.fsu.edu!pepke From: pepke@gw.scri.fsu.edu (Eric Pepke) Newsgroups: comp.sys.mac.programmer Subject: Re: THINK C 4.0 bug? Message-ID: <628@sun13.scri.fsu.edu> Date: 6 Sep 90 18:21:40 GMT Sender: news@sun13.scri.fsu.edu Organization: Florida State University, but I don't speak for them Lines: 21 References:<5364@munnari.oz.au> <6280@adobe.UUCP> In article <6280@adobe.UUCP> hawley@adobe.COM (Steve Hawley) writes: > This allocation happens before the printf, and > hoses the machine since 32000 bytes is really an awful lot to ask from the > machine as local variable space for a single function, since the limit imposed > by the compiler is 32K. More to the point, the default stack size of the Macintosh is only about 5K. If you compare the address of the array to the address of the function, you should find that the function code itself is somewhere within that array. There's no telling what you are dinking with, and you should not really be surprised when it bombs. Eric Pepke INTERNET: pepke@gw.scri.fsu.edu Supercomputer Computations Research Institute MFENET: pepke@fsu Florida State University SPAN: scri::pepke Tallahassee, FL 32306-4052 BITNET: pepke@fsu Disclaimer: My employers seldom even LISTEN to my opinions. Meta-disclaimer: Any society that needs disclaimers has too many lawyers.