tech-userlevel archive

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

Re: alloca again



On Mon, Oct 03, 2022 at 12:31:42PM +0000, nia wrote:
> I'd argue that providing alloca(3) as anything except a compiler
> builtin is a bug, and that kind of thing should never be used.

Well, if you are in strict C/C++ standard mode, alloca should not exist
because it is not part of the standard. If you are in GNU-extended mode,
the builtin logic for it will trigger. Not leaking extra macros has its
advantage.

Joerg


Home | Main Index | Thread Index | Old Index