Bug 23888 – ImportC: VLAs (Variable Length Arrays) are not supported

Status
NEW
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2023-05-05T08:17:21Z
Last change time
2024-12-13T19:28:31Z
Keywords
ImportC
Assigned to
No Owner
Creator
Walter Bright
See also
https://issues.dlang.org/show_bug.cgi?id=23884
Moved to GitHub: dmd#20268 →

Comments

Comment #0 by bugzilla — 2023-05-05T08:17:21Z
Reported by Patrick Schluter: - VLA (variable length arrays) do not work. Error: variable `ilen` cannot be read at compile time Even replacing VLA with alloca() does not work/ Error: undefined identifier `__builtin_alloca`
Comment #1 by robert.schadek — 2024-12-13T19:28:31Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/20268 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB