Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!romp!auschs!awdprime!sanders.austin.ibm.com!sanders From: sanders@peyote.cactus.org (Tony Sanders) Newsgroups: comp.unix.aix Subject: Re: alloca() on AIX 3.1 ? Summary: use: #pragma alloca Keywords: alloca, FAQ Message-ID: <6122@awdprime.UUCP> Date: 25 Mar 91 23:04:32 GMT References: <1991Mar20.105721.12930@frodo.cc.flinders.edu.au> Sender: news@awdprime.UUCP Reply-To: Tony Sanders Organization: IBM AWD, Austin Lines: 17 Originator: sanders@sanders.austin.ibm.com In article <1991Mar20.105721.12930@frodo.cc.flinders.edu.au> psjmt@cc.flinders.edu.au (James Tizard) writes: >The title says it all. The man pages indicate that alloca() is available, >but I can't find it ! >It certainly isn't in libc.a or (as the gdbm installation >implies) in libPW.a Use: #pragma alloca in the source between ifdefs. The current documention specifies this, older versions did not. BTW: Is someone working on a FAQ for this group? Seems like a good idea. I couldn't remeber if this was posted here before. I've seen it, but it could have been on an internal group. -- sanders@peyote.cactus.org First rule of software: Throw the first one away. and so on... I am not an IBM representative, I speak only for myself.