Roland Mainz <[EMAIL PROTECTED]> wrote:

> Joerg Schilling wrote:
> > Peter Memishian <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to