Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!ibmsupt.uucp!!jsalter From: jsalter@slo.paloalto.ibm.com Newsgroups: comp.unix.aix Subject: Re: changing the console; alloca missing from 9021? Message-ID: <1990Aug4.222721.16792@ibmpa> Date: 4 Aug 90 22:27:21 GMT References: <61875@bu.edu.bu.edu> <1990Aug3.170532.11038@ibmpa> <3048@awdprime.UUCP> Sender: news@ibmpa (news id) Reply-To: jsalter@slo.UUCP (James Salter) Organization: IBM AWD Development, Palo Alto Lines: 26 In article <3048@awdprime.UUCP> dcm@austin.ibm.com (Craig Miller) writes: >In article <1990Aug3.170532.11038@ibmpa> jsalter@slo.UUCP (James Salter) writes: >>One of the mysteries of AIXv3.1 is the following: >> To access the alloca() function, you need to add the following >> line to the beginning of your SOURCE code: >> >> #pragma alloca >> >> This will make the alloca() routine available for use. > > Jim, you sound like this is cruel & unusual. I personally think > if you use alloca, you get what you deserve (unportable code). I didn't mean to imply that it was cruel & unusual. The man page, however, is not clear as to how to use the alloca() subroutine. Thus, many people find compiler errors, with respect to alloca(), mysterious. Even we had problems finding it when we first looked for it. > Craig Miller, contractor @ IBM AWD, Austin > UUCP: ..!uunet!cs.utexas.edu!ibmaus!auschs!toysrus.austin.ibm.com!dcm jim/jsalter IBM AWD, Palo Alto T465/(415)855-4427 VNET: JSALTER at AUSVMQ Internet: ibmsupt!jsalter@uunet.uu.net UUCP: ..!uunet!ibmsupt!jsalter "I'm going to win. I always do." George Steinbrenner, on ESPN.