[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-dev] [PATCH] fix GCC 7 implicit fallthroug warnings



On Sun, May 28, 2017 at 5:52 PM, Andreas Stieger <astieger@xxxxxxxx> wrote:
> Hello,
>
> On 05/28/2017 11:01 PM, Andreas Stieger wrote:
>>  __attribute__ ((fallthrough));
>
> It turns out that this may not be as portable as I thought. Instead, the
> attached patch adds magic comments recognized by default
> -Wimplicit-fallthrough=3 or break, as required.

Hi!  I've applied this one to master, and opened
https://trac.torproject.org/projects/tor/ticket/22446#no5 to track it.

yrs,
-- 
Nick
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev