Joerg Schilling wrote:
> Peter Memishian <peter.memishian at Sun.COM> wrote:
> > ... and these apply to alloca(3C) too.  Despite the ominous text in the
> > manpage, it works flawlessly on Solaris (dunno about other Unices,
> > though).  Granted, C99 VLAs are slicker, but alloca() gets the job done :-)
> 
> alloca() has been around sice at least 25 years.
> 
> Variable length arrays are AFAIK a GCCism that has been invented to
> avoid the problems caused the need for a platform/compiler specific
> alloca.h. It later made it into the C99 standard.

Erm... AFAIK it was invented by C++ (together with relaxed variable
declaration rules).

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)

Reply via email to