[Issue 23879] New: ImportC: Windows system headers use `__alignof`

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 2 19:24:14 UTC 2023


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

          Issue ID: 23879
           Summary: ImportC: Windows system headers use `__alignof`
           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 S {
    int x;
};

int x = __alignof(struct S);

windows.c(7): Error: expression expected, not `struct

--


More information about the Digitalmars-d-bugs mailing list