https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83531

--- Comment #9 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to MCCCS from comment #6)
> After reading your comment, I noticed that
> there were two things I forgot to mention:
> 
> 1 - availability.h is the file where
> "API_AVAILABLE" is defined for Clang.
> 
> 2 - the part of the file the patch
> changes is 1:1 copied from
> AvailabilityInternal.h, so someone
> must've forgotten to replace after
> pasting.
> 
> But yes, there's no need to hurry
> to fix it. It's existed since
> October 2017; no one has noticed.

Well, it's still there in the Xcode 10.2 SDK, and I agree it looks like a
pasto.  I suppose you could cover both bases by augmenting the existing text
with the versions without __ .. but perhaps that's OTT.

I've done one reg-strap with it on Darwin18 - and it looks OK, so go ahead and
post your patch.
(a check on Darwin17 seems worthwhile too, so will put that into my queue)

Reply via email to