www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22724] New: ImportC: VC's __pragma fails to compile


          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: nobody puremagic.com
          Reporter: maxsamukha gmail.com

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.


__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`

Feb 02 2022