Alloca without core.stdc.stdlib?

2018-06-29 Thread ARaspiK via D.gnu
According to core.stdc.stdlib, alloca (on GDC) is a compiler intrinsic. But I can't separate it from the rest of core.stdc.stdlib, for a small druntime I'm making. Here's what it seems to be: version(GNU) extern(C) @system nothrow @nogc void* alloca(size_t size) pure; Writing the declaration

Re: Alloca without core.stdc.stdlib?

2018-06-29 Thread ARaspiK via D.gnu
On Friday, 29 June 2018 at 09:17:58 UTC, ARaspiK wrote: According to core.stdc.stdlib, alloca (on GDC) is a compiler intrinsic. But I can't separate it from the rest of core.stdc.stdlib, for a small druntime I'm making. Here's what it seems to be: version(GNU) extern(C) @system nothrow @nogc v