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

--- Comment #2 from dave287...@gmail.com ---
(In reply to Walter Bright from comment #1)
> I don't really know what to do about that. D has a different set of keywords
> than C does, and if D keywords are used in C code, how can it be translated
> into D code?
> 
> I expect that such generated .di files will need to be tweaked by hand.

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.

--

Reply via email to