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

          Issue ID: 22724
           Summary: ImportC: VC's __pragma fails to compile
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Keywords: ImportC
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

I don't know if this is bug or enhancement. It seems there was an attempt to
implement it, so I am marking it as a bug for now.

test.c:

__pragma(pack(push, 8))

----

dmd test.c
test.c(1): Error: found `8` when expecting `,`
test.c(1): Error: `=`, `;` or `,` expected to end declaration instead of `End
of File`

--

Reply via email to