"Error: no property `offsetof` for type `char*`"
kinke
noone at nowhere.com
Fri Aug 19 14:30:50 UTC 2022
On Friday, 19 August 2022 at 13:49:08 UTC, MyNameHere wrote:
> Thank you, that seems to have resolved the issue, though I wish
> these sorts of problems would stop cropping up, they are
> souring the experience with the language.
Oh and `DevicePath()` is a convenience member returning a pointer
to the 'dynamic array' (as the array decays to a pointer in C
too), so no need to fiddle with `.offsetof` and computing the
pointer manually.
More information about the Digitalmars-d-learn
mailing list