[Issue 24505] [REG2.108] ImportC: Function-like macros (newly translated to templates) may collide with regular symbols
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Apr 18 22:47:56 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24505
Iain Buclaw <ibuclaw at gdcproject.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ibuclaw at gdcproject.org
--- Comment #7 from Iain Buclaw <ibuclaw at gdcproject.org> ---
By the way, the documentation already covers this with the following
workaround:
```
typedef struct stat stat_t;
```
https://dlang.org/spec/importc.html#tag-symbols
--
More information about the Digitalmars-d-bugs
mailing list