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). ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [EMAIL PROTECTED] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;) _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
