Roland Mainz <roland.mainz at nrubsig.org> wrote:

> 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).

Could you proove that?

J?rg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       schilling at fokus.fraunhofer.de     (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily

Reply via email to