[Issue 19159] `alloca` does not work in -betterC

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 14 20:13:51 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=19159

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com

--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
alloca() works by calling a compiler-specific function to implement it. This
means it has to be customized for each supported C compiler. Currently for dmd,
this has only been done for dmc (Win32).

Whether it's standard C or not, functions that are in the corresponding
compiler's stdlib.h should be in core.stdc.stdlib.

--


More information about the Digitalmars-d-bugs mailing list