Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!romp!auschs!d75!woan From: woan@nowhere (Ronald S Woan) Newsgroups: comp.unix.aix Subject: getting cc to recognize alloca Summary: #pragma alloca Message-ID: <3576@d75.UUCP> Date: 23 Feb 91 21:58:06 GMT References: <1991Feb23.195712.21940@csn.org> Sender: news@d75.UUCP Reply-To: woan@peyote.cactus.org Organization: Austin School of Hardknocks Lines: 21 In article <1991Feb23.195712.21940@csn.org> 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. The man page >for cc/xlc/c89 mentions that a flag is needed to do this, but I >have not been able to find it in any of the documentation for cc >or alloca. #pragma alloca at the beginning of each source file that requires alloca should do the trick. It's in info under pragma I believe... -- +-----All Views Expressed Are My Own And Are Not Necessarily Shared By------+ +------------------------------My Employer----------------------------------+ + Ronald S. Woan woan@peyote.cactus.org or woan%austin@iinus1.ibm.com + + other email addresses Prodigy: XTCR74A Compuserve: 73530,2537 + Brought to you by Super Global Mega Corp .com