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

          Issue ID: 22971
           Summary: importC: can't initialize unsigned char array with
                    string literal
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: ImportC, rejects-valid
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

unsigned char empty[1] = "";

Error: cannot implicitly convert expression `""` of type `char*` to `ubyte[1]`

--

Reply via email to