------- Comment #8 from dannysmith at users dot sourceforge dot net  2008-02-14 
20:10 -------
(In reply to comment #7)

> If someone really wants an MSCV compatible (one underscore)  _alloca they just
> add this to their srcs
> void *_alloca (size_t size) {return __builtin_alloca (size));
> 
Ugh. Sorry, I wasn't thinking clearly. Currently, that will lead to circular
reference.  I'll change gen_allocate_stack_worker to use __chkstk for 32-bits
when 4.4. opens.
Just #define _alloca __builtin_alloca,  That isn't affected by -fno-builtin
anyway
Danny

> 
> MSDN documentation says that "This function is deprecated because a more 
> secure
> version is available; see _malloca."
> 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35124

Reply via email to