Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!panews.awdpa.ibm.com!slo.awdpa.ibm.com!jsalter From: jsalter@ibmpa.awdpa.ibm.com Newsgroups: comp.unix.aix Subject: Re: getting cc to recognize alloca Message-ID: <1991Feb25.015243.29435@ibmpa.awdpa.ibm.com> Date: 25 Feb 91 01:52:43 GMT References: <1991Feb23.195712.21940@csn.org> <1991Feb23.221233.27936@ux1.cso.uiuc.edu> <1991Feb24.065504.2044@ico.isc.com> Sender: news@ibmpa.awdpa.ibm.com (news id) Reply-To: jsalter@slo.awdpa.ibm.com (Jim Salter) Distribution: usa Organization: IBM PSP Development, Palo Alto, CA Lines: 20 In article<1991Feb24.065504.2044@ico.isc.com> rcd@ico.isc.com (Dick Dunn) writes: >andreess@mrlaxs.mrl.uiuc.edu (Marc Andreessen) writes: >> englund@tramp.colorado.edu (ENGLUND TODD CHARLES) writes: >> > Sorry if this is a FAQ, but does anyone know which flags to >> >give cc so that it will recognize calls to alloca. [...] >> Put '#pragma alloca' in your source file. >But is there an answer for the original question? Sure, it's only a >one-line (per file) change, but one might like to avoid gratuitous changes >to source files, particularly if there are a lot of them (and if, as seems >likely, missing one will make the resulting program fail). Is there no >compiler flag? There is no compiler flag as of this time. This is documented in the /usr/lpp/bos/bsdport document, I believe. >Dick Dunn rcd@ico.isc.com -or- ico!rcd Boulder, CO (303)449-2870 jim/jsalter IBM PSP, Palo Alto T465/(415)855-4427 VNET: JSALTER at AUSVMQ Internet: jsalter@slo.awdpa.ibm.com UUCP: ..!uunet!ibmsupt!jsalter PS/2 it, or DIE! :-) The ramblings above have nothing to do with Big Blue. Brought to you by Super Global Mega Corp .com