[Issue 23888] New: ImportC: VLAs (Variable Length Arrays) are not supported

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 5 08:17:21 UTC 2023


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

          Issue ID: 23888
           Summary: ImportC: VLAs (Variable Length Arrays) are not
                    supported
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: bugzilla at digitalmars.com

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`

--


More information about the Digitalmars-d-bugs mailing list