[Issue 22674] ImportC: compatible types declared in different translation units are not treated equivalent in D.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 16 15:55:41 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=22674

dave287091 at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |---

--- Comment #2 from dave287091 at gmail.com ---
If the goal is to have seamless C importing where you can just import c headers
and the compiler even runs the preprocessor for you, I can’t see how this is an
acceptable outcome. Even basic thing’s like stdio’s FILE* fall victim to this
bug.

--


More information about the Digitalmars-d-bugs mailing list