[Issue 23692] compilable/test22724.i:4:10: error: unknown type name 'pack'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 16 19:13:02 UTC 2023


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

Iain Buclaw <ibuclaw at gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw at gdcproject.org

--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject.org> ---
Some observations:

1. It would appear that `__pragma` and `__declspec` are MSVC extensions.

2. There is no documentation of ImportC parser handling these.

https://dlang.org/spec/importc.html#visualc-extensions

As of writing the this is an empty paragraph

```
<h2>$(LNAME2 visualc-extensions, Visual C Extensions)</h2>
$(DDOC_BLANKLINE )
$(DDOC_BLANKLINE )
<h2>$(LNAME2 digital-mars-extensions, Digital Mars C Extensions)</h2>
```

--


More information about the Digitalmars-d-bugs mailing list