Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.aix Subject: Re: changing the console; alloca missing from 9021? Message-ID: <3828@auspex.auspex.com> Date: 5 Aug 90 18:19:53 GMT References: <61875@bu.edu.bu.edu> <1990Aug3.170532.11038@ibmpa> <3048@awdprime.UUCP> Organization: Auspex Systems, Santa Clara Lines: 10 > But we should discourage it. And the compiler usually needs to > help anyway... I don't consider #pragma alloca cruel or unusual > at all. Let's make people think about it before they use it > (heck, C went ~15 years without it anyway). Yes, but Sun (for SPARC) and, I think, MIPS hide the help they give the compiler (a #define, rather than a #pragma, in Sun's case) in an include file ; if they both do so, it might be wise for IBM to get with the program, the fact that "alloca()" is non-portable and probably shouldn't be used nonwithstanding....