www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 24506] New: importC: illegal combination of type specifiers

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

          Issue ID: 24506
           Summary: importC: illegal combination of type specifiers
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: feklushkin.denis gmail.com

For included files *.i which contain line like:

__extension__ typedef long long off64_t;

Compiler (dmd and ldc2) returns:

Error: illegal combination of type specifiers

I heard what GCC extensions isn't supported by importC, but also I see what
__extension__ is mentioned in importc.h so maybe it can be fixed

--
Apr 15