[Issue 24200] ImportC: .di file collected macro conflicts with Special Token

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 6 18:32:42 UTC 2023


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

--- Comment #3 from Walter Bright <bugzilla at digitalmars.com> ---
(In reply to dave287091 from comment #2)
> I think it’d be acceptable to just not emit them into the .di file. The
> __VERSION__ one especially as clang pre-defines that one and no one will
> want to use them. No one will want the conflicting macros anyway, but they
> currently prevent the .di file from being parsed.

I'm a bit reluctant to do that - silently removing things that don't work. The
user should be aware of what is not working so they can make appropriate
changes.

I'll think about it some more.

--


More information about the Digitalmars-d-bugs mailing list