[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem building Emacs b1fe27d with clang/LLVM 10.x
From: |
Ashish SHUKLA |
Subject: |
Re: Problem building Emacs b1fe27d with clang/LLVM 10.x |
Date: |
Sun, 24 May 2020 02:59:15 +0530 |
User-agent: |
Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 |
On 5/24/20 1:28 AM, Paul Eggert wrote:
> On 5/23/20 12:23 PM, Ashish SHUKLA wrote:
>
>> error: fallthrough annotation does not directly precede switch label
>
> Argh. This appears to be fallout from the C2X draft spec for fallthrough,
> which
> is more restrictive than GCC's (or than Clang 9's, apparently).
>
>> - FALLTHROUGH;
>> resetfvdef:
>
> That patch isn't right, as it causes GCC to warn about the missing
> FALLTHROUGH.
>
> I installed the attached patch instead, as it should be portable to C2X.
> Please
> give it a try, and thanks for reporting the bug.
>
Thank you, that built fine with clang10.
--
Ashish SHUKLA
signature.asc
Description: OpenPGP digital signature