bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

alloca function use discouraged


From: Conrad T. Pino
Subject: alloca function use discouraged
Date: Thu, 15 Apr 2004 07:36:29 -0700

Hi Derek,

Linux, FreeBSD, NetBSD discourage it's use and Linux
man page explains reasons better than others.

Linux man page:
http://www.die.net/doc/linux/man/man3/alloca.3.html

FreeBSD man page:
http://www.freebsd.org/cgi/man.cgi?query=alloca

NetBSD man page:
http://netbsd.gw.com/cgi-bin/man-cgi?alloca++NetBSD-current

Given that "alloca" is machine and compiler dependant we
should give consideration to MS VC "_alloca" function:
http://msdn.microsoft.com/library/en-us/vccore98/HTML/_crt__alloca.asp

Conrad





reply via email to

[Prev in Thread] Current Thread [Next in Thread]