[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix compilation errors on intel Mac having to do with -Wimplicit-fal
From: |
Taylor R Campbell |
Subject: |
Re: Fix compilation errors on intel Mac having to do with -Wimplicit-fallthrough |
Date: |
Thu, 31 Dec 2020 18:47:48 +0000 |
> Date: Mon, 14 Dec 2020 21:07:40 -0500
> From: Duncan Mak <duncanmak@gmail.com>
>
> Here's a patch that replaces the /* fall through */ comments
> with __attribute__ ((fallthrough));
>
> I needed it to make it compile on my intel Mac running macOS 11.1 and Xcode
> 12.2.
>
> hangul:microcode (master) % clang --version
> Apple clang version 12.0.0 (clang-1200.0.32.27)
Thanks, I just applied a variant of your patch today to master, and
cherry-picked it to the release-11 branch! Let me know if it has any
further trouble.