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

          Issue ID: 22512
           Summary: importC: incomplete array type must have initializer
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

The following fails to compile:

// test.c
extern char *tzname[];

test.c(2): Error: variable `test.tzname` incomplete array type must have
initializer


This pattern appears in stdio.h and time.h on macOS.

--

Reply via email to