try importC on macOS, get this error
d007
d007 at gmail.com
Thu Mar 16 10:08:53 UTC 2023
On Thursday, 16 March 2023 at 06:05:53 UTC, Richard (Rikki)
Andrew Cattermole wrote:
> A few potential bug reports:
>
> https://issues.dlang.org/show_bug.cgi?id=22161
> https://issues.dlang.org/show_bug.cgi?id=23725
> https://issues.dlang.org/show_bug.cgi?id=22722
>
> It may also be required if we want out of the box support on
> Windows, as the mingw headers also use inline assembly (which
> errors out).
this seems like silly bug. (after clang -E)
```sh
/src/pcache.h(25): Error: struct `test.PgHdr` conflicts with
alias `test.PgHdr` at /pcache.h(18)
```
```c
typedef struct PgHdr PgHdr;
struct PgHdr {
// body
}
```
More information about the Digitalmars-d
mailing list