Hi Erik, Thanks for bringing up the man page about alloca! I was looking just at that gnu manual entry which made it seem interesting, but if it's buggy then not worth bothering about. Thanks! steven On Jan 22, 2008 2:50 PM, Erik de Castro Lopo wrote: > jpff wrote: > > > alloca is not in C89 which is the dialect I use. It may be in C99, > > Alloca is not in any ISO C standard nor is it in POSIX. Furthermore, > the Linux manpage says: > > The alloca() function is machine and compiler dependent. On many > systems its implementation is buggy. Its use is discouraged. > > On many systems alloca() cannot be used inside the list of > arguments of a function call, because the stack space reserved by > alloca() would appear on the stack in the middle of the space > for the function arguments. > > > but lots of nasties are there.....(ducks, runs for cover) > > In C99? Like what? > > AFAIAC, C99 brings a lot of really good stuff like snprintf (sprintf > should be avoided), inline functions, the "long long" type, named > initialisation of structs, functions returns no longer default to int > and a bunch of other good stuff. > > Erik > -- > ----------------------------------------------------------------- > Erik de Castro Lopo > ----------------------------------------------------------------- > "In civilian equipment, such as computers, the number > of components alone makes miniaturization essential if > the computer is to be housed in a reasonable-sized > building." Electronics Oct. 1, 1957, p. 178 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net