home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6941 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.2 KB  |  34 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: chang.unx.sas.com!walker
  3. From: walker@chang.unx.sas.com (Doug Walker)
  4. Subject: Re: alloca() on Amiga?
  5. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  6. Message-ID: <DpE7Ip.7or@unx.sas.com>
  7. Date: Fri, 5 Apr 1996 14:13:37 GMT
  8. X-Nntp-Posting-Host: chang.unx.sas.com
  9. References: <2720tdg60.alamito@marketgraph.xs4all.nl> <4k1oce$lub@blackice.winternet.com>
  10. Organization: SAS Institute Inc.
  11. Keywords: alloca
  12.  
  13. In article <4k1oce$lub@blackice.winternet.com>,
  14. Anthony Pang <apang@winternet.com> wrote:
  15. >In article <2720tdg60.alamito@marketgraph.xs4all.nl>,
  16. >Ruud van Gaal <rvg@marketgraph.xs4all.nl> wrote:
  17. >>Is there a nice way to get a working alloca() function for the Amiga?
  18. >>It is present on all PC and Unix C implementations, but not on the Amiga.
  19. >>(it allocates mem from the stack, automatically freeing it upon return from 
  20. >>subroutine).
  21. >
  22. >GCC and SAS have alloca().  I think DICE has it too.
  23.  
  24. This is not correct. SAS/C does not supply an alloca() function.
  25. Third parties may have been able to implement one, but it's not
  26. a trivial operation.
  27.  
  28. -- 
  29.   *****     
  30.  *|_o_o|\\     Doug Walker   walker@unx.sas.com  
  31.  *|. o.| ||                
  32.   | o  |//     Any opinions are mine, not those of SAS Institute, Inc.
  33.   ====== 
  34.