www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 24811] New: Cant compile C code

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

          Issue ID: 24811
           Summary: Cant compile C code
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: my-ijet mail.ru

Created attachment 1919
  --> https://issues.dlang.org/attachment.cgi?id=1919&action=edit
lib.c

How to reproduce

//lib.c
typedef float       _Float32;
typedef double      _Float64;
typedef double      _Float32x;
typedef long double _Float64x;
//



lib.c(1): Error: illegal combination of type specifiers
lib.c(2): Error: illegal combination of type specifiers
lib.c(3): Error: illegal combination of type specifiers
lib.c(4): Error: illegal combination of type specifiers
lib.c(4): Error: illegal type combination

--
Oct 13