Re: Apple LLVM 10 and `__fallthrough__`

2023-02-27 Thread Alexei Podtelezhnikov
> > > -# elif (__GNUC__ >= 7) || (__clang_major__ >= 10) > > > +# elif ((__GNUC__ >= 7) \ > > > +|| (defined __apple_build_version__ \ > > > +? __apple_build_version__ >= 1400 \ > > > +: __clang_major__ >= 10)) > > > > > > Wiki suggests __apple_build_version__

Re: Apple LLVM 10 and `__fallthrough__`

2023-02-26 Thread Alexei Podtelezhnikov
On Sun, Feb 26, 2023 at 7:08 PM Bruno Haible wrote: > > Alexei Podtelezhnikov wrote: > > -# elif (__GNUC__ >= 7) || (__clang_major__ >= 10) > > +# elif ((__GNUC__ >= 7) \ > > +|| (defined __apple_build_version__ \ > > +

Re: Apple LLVM 10 and `__fallthrough__`

2023-02-26 Thread Alexei Podtelezhnikov
-# elif (__GNUC__ >= 7) || (__clang_major__ >= 10) +# elif ((__GNUC__ >= 7) \ +|| (defined __apple_build_version__ \ +? __apple_build_version__ >= 1400 \ +: __clang_major__ >= 10)) Wiki suggests __apple_build_version__ >= 1200