Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!ksand@apple.com From: ksand@apple.com (Kent Sandvik) Newsgroups: comp.sys.mac.programmer Subject: Re: Help!!! Internal check errors with CFront Message-ID: <13888@goofy.Apple.COM> Date: 5 Jun 91 19:00:16 GMT References: <1991Jun4.234444.18464@cs.mcgill.ca> Sender: usenet@Apple.COM Organization: Apple, Platforms Group, DTS Lines: 20 In article <1991Jun4.234444.18464@cs.mcgill.ca>, quesnel@cs.mcgill.ca (Rene QUESNEL) writes: > > I'm getting error messages from Cfront that I don't understand. Here's a > reduced version of the problem I get: > > #include > WindowPtr wind; > > void foo(void); > > void foo() > { > wind = GetNewWindow(12, 0L, (WindowPtr)-1L); > } ^^ change OL to nil (wStorage, nil = allocate one) and it will compile. Kent Sandvik