Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!ads.com!killer!usenet From: anders@verity.com (Anders Wallgren) Newsgroups: comp.sys.mac.programmer Subject: Re: Help!!! Internal check errors with CFront Message-ID: <1991Jun5.023127.10631@verity.com> Date: 5 Jun 91 02:31:27 GMT References: <1991Jun4.234444.18464@cs.mcgill.ca> Sender: usenet@verity.com (USENET News) Reply-To: anders@verity.com (Anders Wallgren) Organization: Verity, Inc., Mountain View, CA Lines: 21 In-Reply-To: quesnel@cs.mcgill.ca (Rene QUESNEL) In article <1991Jun4.234444.18464@cs.mcgill.ca>, quesnel@cs (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); >} > I have no idea why it happens, but I can reproduce also. Changing the call to window = GetNewWindow(12, (void*)0, (WindowPtr)-1L); is a workaround.