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