Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ukma!wuarchive!cs.utexas.edu!ico!rcd From: rcd@ico.isc.com (Dick Dunn) Newsgroups: comp.unix.aix Subject: Re: getting cc to recognize alloca Summary: awkward Message-ID: <1991Feb24.065504.2044@ico.isc.com> Date: 24 Feb 91 06:55:04 GMT References: <1991Feb23.195712.21940@csn.org> <1991Feb23.221233.27936@ux1.cso.uiuc.edu> Distribution: usa Organization: Interactive Systems Corporation, Boulder, CO Lines: 15 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? -- Dick Dunn rcd@ico.isc.com -or- ico!rcd Boulder, CO (303)449-2870 ...But is it art? Brought to you by Super Global Mega Corp .com