Re: gcc and the phantom alloca()?
Re: gcc and the phantom alloca()?
- Subject: Re: gcc and the phantom alloca()?
- From: Adin Hunter Baber <email@hidden>
- Date: Sun, 11 Jun 2006 18:13:59 -0500
On 2006 Jun 10, at 11:58 AM, John Lunt wrote: I believe gcc uses alloca(.) for stack variables of variable size. For example in C if you use
// gnu C extension, or vanilla C++. int n = foo(); double x[n]; // implicitly allocated using alloca(.)
Variable length arrays (VLA) are part of C99, not C++.
Here's a good list of the differences between the two languages:
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden