[Issue 22724] New: ImportC: VC's __pragma fails to compile
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 2 09:30:23 UTC 2022
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 at puremagic.com
Reporter: maxsamukha at 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`
--
More information about the Digitalmars-d-bugs
mailing list