[Issue 23389] ImportC: types from core.stdc.* are distinct types when imported from C
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Oct 5 15:52:02 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23389
Adam D. Ruppe <destructionator at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |destructionator at gmail.com
--- Comment #1 from Adam D. Ruppe <destructionator at gmail.com> ---
This one I actually don't think is a bug. This is the D module system working
as designed for declarations in D. Yes, they are extern(C) definitions, but it
is still D code so the D rules ought to apply.
Though if you had two different .c files that both #included the same thing,
then I *would* call it a bug, since C isn't supposed to work that way.
--
More information about the Digitalmars-d-bugs
mailing list