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

--- Comment #12 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/6302257b0cdc5d171511cc6f1566956ff11b09c5
Prevent using alloca and tempCString in same functions

Currently using both alloca and finalizers (==destructor call) in a function is
unsupported excepting Win32 (issue 3753). However compiler doesn't recognize
implicit destructor calls sometimes, and they're not called during stack
unwinding (issue 14708).

For the workaround, replace alloca call with malloc + scope(exit) free.

--

Reply via email to