Path: chuka.playstation.co.uk!scea!wal From: wal@blarg.net (wayne a. lee) Newsgroups: scea.yaroze.programming.codewarrior Subject: Re: Problems with CW 2 install Date: Sat, 01 Nov 1997 21:12:00 -0800 Organization: SCEA News Server Lines: 16 Message-ID: References: <3457A77B.41C6@san.rr.com> NNTP-Posting-Host: mg131-014.ricochet.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: Yet Another NewsWatcher 2.4.0 In article , sumner@austin.metrowerks.com (Joel Sumner) wrote: > 4) Make sure you read the note in the psstart.c file which the compiler > flags as a "warning: read this note". It has important information about > using malloc() in your programs. Hm, that's interesting (InitHeap() must be called from main()). Is it OK to call InitHeap() from another function called by main(), or does it have to be from main() itself (since I'm guessing the limitation has something to do with the stack)? I want to hide the ugliness with a util function, but if not, I guess I can use a macro instead. Thanks. -- wayne a. lee