bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apple LLVM 10 and `__fallthrough__`


From: Alexei Podtelezhnikov
Subject: Re: Apple LLVM 10 and `__fallthrough__`
Date: Mon, 27 Feb 2023 07:32:17 -0500

> > > -# elif (__GNUC__ >= 7) || (__clang_major__ >= 10)
> > > +# elif ((__GNUC__ >= 7) \
> > > +        || (defined __apple_build_version__ \
> > > +            ? __apple_build_version__ >= 14000000 \
> > > +            : __clang_major__ >= 10))
> > >
> > > Wiki suggests __apple_build_version__ >= 12000000
> > > https://en.wikipedia.org/wiki/Xcode#Xcode_11.0_-_14.x_(since_SwiftUI_framework)_2

Alternative Xcode versioning source found:
https://github.com/gsl-lite/gsl-lite/blob/master/include/gsl/gsl-lite.hpp#L534-L557



reply via email to

[Prev in Thread] Current Thread [Next in Thread]