[Issue 23866] New: ImportC: Multiple __declspecs rejected

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 29 10:02:19 UTC 2023


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

          Issue ID: 23866
           Summary: ImportC: Multiple __declspecs rejected
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Keywords: ImportC
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: maxsamukha at gmail.com

struct __declspec(align(16)) __declspec(no_init_all) S {
};

typedef struct __declspec(align(16)) __declspec(no_init_all) _S2 {
} S2;

----
Error: missing tag `identifier` after `struct`

Compiles after commenting out either of the declspecs.

--


More information about the Digitalmars-d-bugs mailing list