digitalmars.D.bugs - [Issue 22724] New: ImportC: VC's __pragma fails to compile
- d-bugmail puremagic.com (24/24) Feb 02 2022 https://issues.dlang.org/show_bug.cgi?id=22724
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: 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. 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` --
Feb 02 2022