June 21 [Issue 24621] New: ImportC: can't access members in static array | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24621 Issue ID: 24621 Summary: ImportC: can't access members in static array Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: ryuukk.dev@gmail.com ```C typedef struct { char* buffer; } stuff; void testtest(void) { stuff s[1]; s->buffer = NULL; } ``` I get: ``` it.c(11): Error: `buffer` is not a member of `stuff[1]` ``` DMD: 2.109.0 -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply